Linux关机命令详解

shutdown now

只是退回到单用户模式

shutdown -h now(首选)

加一个h参数,这个参数的意思是Halt or poweroff after shutdown.

poweroff

掉电关机。实际过程是先关闭系统,然后掉电。

halt

停操作系统,没有掉电,主板是通电的。

原文地址:https://www.cnblogs.com/victorfrost/p/12988526.html