【发布时间】:2013-05-29 09:59:19
【问题描述】:
我正在尝试按照tutorial 中给出的说明使用下面的代码从 unix 提示符作为守护程序运行脚本 Daemon.php。
daemon Daemon.php --log=/var/log/Daemon.log
当我运行它时,我会得到输出
daemon: command not found
知道可能出了什么问题吗?
【问题讨论】:
-
您可能没有安装
daemon。试试apt-get install daemon。 -
这会返回 -bash: get: command not found
-
命令不是
get,而是apt-get。 -
我的错误。但是运行 'apt-get' 会输出 'apt-get: command not found'
-
Ops,我看到你刚刚发布了一个关于它的问题。 apt-get 是 Linux 环境下安装包的工具。