linux命令行关机

关机:

  init 0

  shutdown -h now 

  halt

重启:

  init 1

  shutdown -r now

  reboot

原文地址:https://www.cnblogs.com/tiandsp/p/2744788.html