Search code examples
linuxshutdown

How do you shut down a Linux system?


Linux seems to have a lot of commands, both for the operating system, as well as Linux tools and utilities, both for GUI and command line use.

I am interested in finding out how to shutdown a Linux system. In addition, I would like to know the varieties and uses for the shutdown command.

I have a tool which works with DOS and is Linux based, so I am assuming there is something that will work for Linux. Otherwise, I cannot complete my work.


Solution

  • Try this:

    sudo /sbin/shutdown -h now