tldr/pages/osx/shutdown.md

29 lines
455 B
Markdown
Raw Normal View History

# shutdown
> Shutdown and reboot the system.
2021-11-14 19:45:59 +00:00
> More information: <https://ss64.com/osx/shutdown.html>.
- Power off (halt) immediately:
`shutdown -h now`
2014-02-25 21:58:53 +00:00
- Sleep immediately:
2014-02-25 21:58:53 +00:00
`shutdown -s now`
- Reboot immediately:
2014-02-25 21:58:53 +00:00
`shutdown -r now`
- Reboot in 5 minutes:
2014-02-25 22:00:36 +00:00
`shutdown -r +{{5}}`
- Power off (halt) at 1:00 pm (Uses 24h clock):
`shutdown -h {{1300}}`
- Reboot on May 10th 2042 at 11:30 am (Input format: YYMMDDHHMM):
`shutdown -r {{4205101130}}`