Skip to content

Instantly share code, notes, and snippets.

@morad7
Created March 21, 2016 11:41
Show Gist options
  • Save morad7/d8316b3a46c04b7e2f3c to your computer and use it in GitHub Desktop.
Save morad7/d8316b3a46c04b7e2f3c to your computer and use it in GitHub Desktop.
Ubuntu shutdown and reboot
//Try using the following command to reboot:
sudo reboot
//If, instead, you want to shut down the server safely, use this command:
sudo shutdown -h now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment