commands.sh

shutdown

linuxmacos

Shutdown and reboot the system.

More info →

Options (1)

-r, --rebootboolean

Reboot immediately

Example: shutdown {{[-r|--reboot]}} now

Examples (5)

Power off ([h]alt) immediately

Reboot immediately

shutdown [-r|--reboot] now

Reboot in 5 minutes

shutdown [-r|--reboot] +5 &

Shutdown at 1:00 pm (Uses 24h clock)

shutdown -h 13:00

[c]ancel a pending shutdown/reboot operation

made by @shridhargupta | data from tldr-pages