linux如何关机

2026-02-14 16:36:34

1、shutdown 命令 

格式:[root@localhost ~]#shutdown now 

功能:立即关机,等同于 poweroff

linux如何关机

2、init 命令 

格式:[root@localhost ~]#init 0 

功能:立即关机,等同于 poweroff

3、halt 命令 

格式:[root@localhost ~]#halt 

功能:系统关机但不切断电源,CPU 处于锁死状态,只能强行关机。

linux如何关机

猜你喜欢