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

Tutorial details
Difficulty level Easy
Root privileges Yes
Requirements shutdown command
Est. reading time 1 minutes
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:
Advertisement


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

OR

shutdown -h 0

OR

sudo shutdown -h now

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

poweroff

OR

halt

🥺 Was this helpful? Please add a comment to show your appreciation or feedback.

nixCrat Tux Pixel Penguin
Hi! 🤠
I'm Vivek Gite, and I write about Linux, macOS, Unix, IT, programming, infosec, and open source. Subscribe to my RSS feed or email newsletter for updates.

0 comments… add one

Leave a Reply

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

Use HTML <pre>...</pre> for code samples. Your comment will appear only after approval by the site admin.