snippetbashTip
shutdown — Shutdown and reboot the system. More information: <https://keith.github.io/xcode-man-pages/shutdown.
Viewed 0 times
thecommandrebootandclishutdownsystem
macos
Problem
How to use the
shutdown command: Shutdown and reboot the system. More information: <https://keith.github.io/xcode-man-pages/shutdown.8.html>.Solution
shutdown — Shutdown and reboot the system. More information: <https://keith.github.io/xcode-man-pages/shutdown.8.html>.Power off (halt) immediately:
shutdown -h nowSleep immediately:
shutdown -s nowReboot immediately:
shutdown -r nowReboot 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}}Code Snippets
Power off (halt) immediately
shutdown -h nowSleep immediately
shutdown -s nowReboot immediately
shutdown -r nowReboot in 5 minutes
shutdown -r "+{{5}}"Power off (halt) at 1:00 pm (Uses 24h clock)
shutdown -h {{1300}}Context
tldr-pages: osx/shutdown
Revisions (0)
No revisions yet.