shutdown
Shutdown and reboot the system. More information: https://ss64.com/osx/shutdown.html.
-
Power off (halt) immediately:
shutdown -h now
-
Sleep immediately:
shutdown -s now
-
Reboot immediately:
shutdown -r now
-
Reboot in 5 minutes:
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}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.