关机:
shutdown -h now:立即关机
shutdown -h 20:20分钟后关机
shutdown -h 10:00:10:00关机
shutdown -c:取消指定时间关机
init 0:立即关机
telinit 0:关机
poweroff:立即关机
halt:关机
重启:
shutdown -r now:重启
shutdown -r 10:10分钟之后重启
shutdown -r 11:00:定时重启
reboot:重启
init 6:重启
logout:退出登录Shell