Linux 关机
linux立刻关机可通过5种方法实现:
推荐第2种,因为输入字符最少。
方法1:poweroff
poweroff
方法2:init
init 0
方法3:halt
halt -p
方法4:shutdown
shutdown -P now
此处P大写
方法5:systemctl
systemctl poweroff
本文介绍了在Linux系统中通过五种方法立即关机,推荐使用init或systemctl,分别以最少的输入字符实现poweroff功能。
linux立刻关机可通过5种方法实现:
推荐第2种,因为输入字符最少。
方法1:poweroff
poweroff
方法2:init
init 0
方法3:halt
halt -p
方法4:shutdown
shutdown -P now
此处P大写
方法5:systemctl
systemctl poweroff
494
2602

被折叠的 条评论
为什么被折叠?