shutdown
shutdown 命令 - 关闭或重启系统
关闭或重启系统
系统信息

⌨️ 命令语法

shutdown [选项] [时间]

⚙️ 常用参数

-h关机
-r重启
-c取消

💡 实战示例

  • $ shutdown -h now
    立即关机
  • $ shutdown -r +10
    10分钟后重启

🔗 相关命令