Posted on 7月 22, 2017
关机与重启命令-linux常用命令
关机与重启命令
shutdown 接参数 接时间 控制关机或重启(推荐使用)
参数: c 取消前一个关机命令
h 关机
r 重启
例如: shutdown -h now
现在立刻关闭计算机
例如: shutdown -r 20:00
在晚八点的时候重启系统
其他关机命令:
halt
poweroff
init 0
其他重启命令:
reboot
init6
Posted on 7月 22, 2017
关机与重启命令
shutdown 接参数 接时间 控制关机或重启(推荐使用)
参数: c 取消前一个关机命令
h 关机
r 重启
例如: shutdown -h now
现在立刻关闭计算机
例如: shutdown -r 20:00
在晚八点的时候重启系统
其他关机命令:
halt
poweroff
init 0
其他重启命令:
reboot
init6