Cmd Generator

halt

停止、关闭电源或重启机器。

halt

无需参数,直接运行 halt 即可停止系统。

示例

# 停止系统
halt

# 关闭电源
halt -p

# 强制立即停止
halt -f

# 停止但不同步磁盘
halt -n

Sponsors