|
shutdown -t 3600
shutdown -s -t 3600
以上这两个都是一个小时后关机
但是都不行阿
到底shutdown命令怎么用阿
root@climan-desktop: # shutdown --help
Usage: shutdown [OPTION]... TIME [MESSAGE]
Options:
-e, --event=EVENT shutdown event to send
-r, --reboot reboot after shutdown
-h, --shutdown halt or power off after shutdown
-H, --halt halt after shutdown (implies -h)
-P, --poweroff power off after shutdown (implies -h)
-c, --cancel cancel a running shutdown
-k, --warn-only only send warnings, don't shutdown
-q, --quiet reduce output to errors only
-v, --verbose increase output to include informational messages
--help display this help and exit
--version output version information and exit
Report bugs to <new@bugs.launchpad.net>
请问到底是哪个命令阿? |
|