Skip to content

Power

Power Menu

Shutdown

Linux & Mac OS

Use the command in terminal bash or zsh where the -h parameter will take a number which is in minutes.

sudo shutdown -h +30

To shut down your Mac immediately:

sudo shutdown -h now

-r for restart -h for shutdown -s for sleep

Windows

Use the command in powershell or windows terminal where the -t parameter will take a number which is in seconds so 10 minutes is 600 seconds. So with \(1200\) is 20 minutes.

shutdown –s –t 3600

Windows 10 Terminal

shutdown /s /t 3600

Restart