关机重启

 

shutdown -h now #立刻关机

shutdown -h 1 #一分钟后关机

shutdown -h 17:00 #指定时间关机(如果当前时间超过17:00,则会转到明天的17:00)

shutdown -r now #立即重启

shutdown -t 30 #30秒后关机

 

halt  #关机

 

reboot #重启

 

sync #把内存数据写到磁盘

 

 注销

logout #远程登录注销