yyyyyyyyyyyyyyyyyyyy

博客园 首页 新随笔 联系 订阅 管理
Linux下的shutdown命令
shutdown [options] [time] [wall]
options: --help       获取帮助
                -h             关机
                -r              重启
                -c             取消
                -k             仅显示警告信息wall
time:        两种形式:1/ hh:mm 24小时进制
                                     2/ +m         表示m分钟后执行option操作          now  alias to   +0  表示立即执行                      精度:分钟
wall:        警告信息,发给所有在此计算机上的用户。



Windows下的shutdown命令
shutdown [options] [time]
options:    -s    关机
                   -r     重启
                  -a     取消
time:         shutdown -s -t   100  表示100秒以后执行options操作。                                                                                                         精度:秒   
                  at 23:00 shutdown -s 表示在23:00时刻执行options操作                                                                                                         精度:分钟
注意:at为任务调度指令。当到达23:00时执行后面的指令shutdown -s 

 

 

http://wenku.baidu.com/view/f78f4bfa700abb68a982fb91.html

 

posted on 2015-08-07 01:20  xxxxxxxx1x2xxxxxxx  阅读(247)  评论(0编辑  收藏  举报