
正文
Linux和windows下的shutdown命令
提示:扫一扫查出行【扫一扫了解最新限行尾号】
复制提示
Linux下的shutdown命令
shutdown [options] [time] [wall]
options: --help 获取帮助
-h 关机
-r 重启
-c 取消
-k 仅显示警告信息wall
time: 两种形式:/ hh:mm 24小时进制
/ +m 表示m分钟后执行option操作 now alias to + 表示立即执行 精度:分钟
wall: 警告信息,发给所有在此计算机上的用户。
Windows下的shutdown命令
shutdown [options] [time]
options: -s 关机
-r 重启
-a 取消
time: shutdown -s -t 表示100秒以后执行options操作。 精度:秒
at : shutdown -s 表示在23:00时刻执行options操作 精度:分钟
注意:at为任务调度指令。当到达23:00时执行后面的指令shutdown -s
http://wenku.baidu.com/view/f78f4bfa700abb68a982fb91.html






