Linux系统开关机控制指令组合
注意:不同版本系统指令可能不同;
关闭系统
shutdown -h now
关闭系统
init 0
关闭系统
telinit 0
按预定时间关闭系统
shutdown -h hours:minutes &
取消按预定时间关闭系统
shutdown -c
重启
shutdown -r now
重启
reboot
注销
logout
注意:不同版本系统指令可能不同;
关闭系统
shutdown -h now
关闭系统
init 0
关闭系统
telinit 0
按预定时间关闭系统
shutdown -h hours:minutes &
取消按预定时间关闭系统
shutdown -c
重启
shutdown -r now
重启
reboot
注销
logout