Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am new in linux, I want to know the exact command to shut down a red hat linux server.

I was using init 0. but some one said its not the proper method to shut down my linux server.

If not which is the exact command


share|improve this question

4 Answers 4

up vote 7 down vote accepted
$ shutdown -h now


$ telinit 0
share|improve this answer
init and telinit do exactly the same when invoked by user. –  grawity Jan 26 '10 at 14:32

Try poweroff .

share|improve this answer
This was the only one that worked for me. –  Christian Vielma Nov 15 '13 at 1:27

To reboot from the prompt, type:

$ shutdown -r now

Or, if you want to exit from your system and turn off your machine, type:

$ shutdown -h now

.. via manuals.

share|improve this answer
You beat my answer by 29 secs :D –  Bolek Tekielski Jan 26 '10 at 10:50
there is also "reboot" –  Joe Internet Jan 26 '10 at 11:30

shutdown -h now

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.