tldr/pages.zh/osx/shutdown.md

212 B

shutdown

关闭并重新启动系统。

  • 立即关机:

shutdown -h now

  • 立即休眠:

shutdown -s now

  • 立即重启:

shutdown -r now

  • 倒计时 5 分钟重启:

shutdown -r +{{5}}