温馨提示×

linux关机的命令是什么

小亿
94
2023-08-25 06:24:34
栏目: 智能运维

Linux关机的命令是"shutdown"或者"poweroff"。

  1. 使用shutdown命令:
shutdown -h now

或者

shutdown -h +10

第一个命令会立即关机,第二个命令会在10分钟后关机。

  1. 使用poweroff命令:
poweroff

这个命令会立即关机。

在执行这些命令前,请确保你有关机权限。

0