关机
shutdown -h now 立刻关机(root 用户使用)
shutdown -h 5 5分钟后关机
init 0 立刻关机
halt 立刻关机
poweroff 立刻关机
重启
reboot 重启
init 6 重启
shutdown -r now 立刻关闭并重启
shutdown -r 5 5分钟后重启
关机
shutdown -h now 立刻关机(root 用户使用)
shutdown -h 5 5分钟后关机
init 0 立刻关机
halt 立刻关机
poweroff 立刻关机
重启
reboot 重启
init 6 重启
shutdown -r now 立刻关闭并重启
shutdown -r 5 5分钟后重启