Shutting Down Ubuntu from the Command Line August 29, 2013August 8, 2012 by Ubuntu Guides for Begginers RedditXHacker NewsFacebookEmailPocketTelegramWhatsAppyou 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