linux命令,关机、重启(shutdown,reboot,halt,poweroff)

  shutdown -t 2  ->  2秒后关机

  shutdown -r now  ->  系统立刻重启

  shutdown -r +30  ->  30分钟后重启

  shutdown -h now  ->  立刻关机

  shutdown -h 20:00  ->  20:00关机

  shutdown -h +10  ->  10分钟后关机

  reboot  ->  重启

  poweroff -f  ->  关机

  init 0  ->  关机(3唇命令行模式,5图形界面模式,6重启)

原文地址:https://www.cnblogs.com/webberji/p/4526074.html