admin 管理员组

文章数量: 1184232

Linux关机命令(4种)

Linux 常用的关机命令有以下 4 种。

1) 使用 shutdown 命令关机:

[root@localhost ~]# shutdown -h now


2) 使用 poweroff 命令关机:

[root@localhost ~]# poweroff


3) 使用 init 命令关机:

[root@localhost ~]# init 0


4) 使用 halt 命令,关机时同时关闭电源

[root@localhost ~]# halt -p

本文标签: 命令 Linux