6692975, 过去我有gnome时可以用shutdown now来关机,可是现在
[gj@localhost gj]$ shutdown --help
bash: shutdown: command not found
[gj@localhost gj]$ shutdown -h now
bash: shutdown: command not found
[gj@localhost gj]$ shutdown -h +1
bash: shutdown: command not found
是这种情况。
man shutdown是这样的
OPTIONS
-a Use /etc/shutdown.allow.
-t sec Tell init( to wait sec seconds between sending processes the
warning and the kill signal, before changing to another run-
level.
-k Don't really shutdown; only send the warning messages to every-
body.
-r Reboot after shutdown.
-h Halt after shutdown.
-n [DEPRECATED] Don't call init( to do the shutdown but do it
ourself. The use of this option is discouraged, and its results
are not always what you'd expect.
-f Skip fsck on reboot.
-F Force fsck on reboot.
-c Cancel an already running shutdown. With this option it is of
course not possible to give the time argument, but you can enter
a explanatory message on the command line that will be sent to
all users.
[quote:8d154cdda7="lmp4h7"]6692975, 过去我有gnome时可以用shutdown now来关机,可是现在
[gj@localhost gj]$ shutdown --help
bash: shutdown: command not found
[gj@localhost gj]$ shutdown -h now
bash: shutdown: command not found
[gj@localhost gj]$ shutdown -h +1
bash: shutdown: command not found
可是没有什么效用.[/quote]