Shutting Down Ubuntu from the Command Line

Shutting Down Ubuntu from the Command Line

Aug 8, 2012

you can immediately shut down your system by using the shutdown command like this:

$ sudo shutdown -h now

You can also use the shutdown command to restart your computer, as follows:

$ sudo shutdown -r now


How to shutdown Ubuntu from the command line


  1. This command is great for the Ubuntu Server Version, since there is no Graphic Desktop.

  2. Great! Just what I needed to get things started with my server.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>