How to reboot or shutdown Ubuntu Linux via the command line

Written by Ian Carnaghan · 8 sec read >


  1. Open a Terminal Window
  2. Type in the reboot commandsudo reboot
  3. PC should now reboot



  1. Open a Terminal Window 
  2. Type in the following command to shutdown: sudo halt or sudo shutdown now
  3. PC should now switch off

Last Updated On April 07, 2018
Written by Ian Carnaghan
I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment. In my spare time I teach undergraduate classes in web development. Profile

Leave a Reply

Notify of