Home Download Ubuntu

Restart and Shutdown Ubuntu machine

Restarting and shutingdown Ubuntu from terminal in quite easy.

Restart Ubuntu machine:
sudo shutdown -r now


sudo reboot

Shutdown Ubuntu machine:
sudo shutdown -h now

Al the options:

Usage: shutdown [OPTION]... TIME [MESSAGE]
Bring the system down.

-r reboot after shutdown
-h halt or power off after shutdown
-H halt after shutdown (implies -h)
-P power off after shutdown (implies -h)
-c cancel a running shutdown
-k only send warnings, don't shutdown
-q, --quiet reduce output to errors only
-v, --verbose increase output to include informational messages
--help display this help and exit
--version output version information and exit


Post a Comment