Linux Command To Shutdown HP/IBM/Sun/Dell Server System

in Categories , , , , last updated November 21, 2012

How do I shutdown a Linux powered server using command line option?

You need to use the shutdown command to shuts down the server system powered by Linux operating systems. The syntax is:

shutdown [options]

The shutdown command power down the system in a secure way. All logged-in users are notified that the system is going down, and login is blocked. To shutdown server immediately type the following command as root user:

shutdown -h now


shutdown -h 0


sudo shutdown -h now

You can also use the following commands as root user to shutdown and stop the system:




Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Share this on (or read 0 comments/add one below):