Rebooting on the command line

I was prompted to write this post after listening to Jonathan Nadeau talk about accessibility in Ubuntu. He mentioned not knowing how to shutdown a GNU/Linux system from the command line yet. As it happens the command to use is in fact shutdown. Specifically:

shutdown now "The system is going down now"

The command is also available in BSD (Including OSX), Solaris, and even Windows.

See also: Reboot under GNU/Linux, BSD, and Solaris.

This entry was posted in General. Bookmark the permalink.

One Response to Rebooting on the command line

  1. ‘halt’ also does the trick for me. Cheers!

Leave a Reply

Your email address will not be published.

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>