2021-04-23 14:33发布
sbin/shutdown 【-t 秒】【-arkhncfF】时间【警告消息】
#shutdown –h now //立刻关机
#shutdown –h 18:18 //系统将在今天的18:18时刻关机,若在18:18才执行此命令,则隔天才关机
#shutdown –h +10 //系统再过10分钟自动关机
#shutdown –r now //系统立刻重启
# shutdown –r +30 ‘The system will reboot’ //再过30分钟系统会重启,并显示后面的消息给所有在线的用户
#shutdown –k now ‘This system will reboot’ //仅发出警告信件的参数,系统并不会关机。
最多设置5个标签!
sbin/shutdown 【-t 秒】【-arkhncfF】时间【警告消息】
#shutdown –h now //立刻关机
#shutdown –h 18:18 //系统将在今天的18:18时刻关机,若在18:18才执行此命令,则隔天才关机
#shutdown –h +10 //系统再过10分钟自动关机
#shutdown –r now //系统立刻重启
# shutdown –r +30 ‘The system will reboot’ //再过30分钟系统会重启,并显示后面的消息给所有在线的用户
#shutdown –k now ‘This system will reboot’ //仅发出警告信件的参数,系统并不会关机。
一周热门 更多>