# To reboot the system immediately:
shutdown -r now

# To shut system down immediately:
shutdown -h now

# To reboot system after 5 minutes:
shutdown -r +5

# To cancel a scheduled shutdown:
shutdown -c
