Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I wrote sudo shutdown now on my ubuntu VM terminal and the results were not what i expected. I expected results similar to shutting down through the desktop GUI but instead it shut down rather quickly and brought me to a recovery prompt (i think it was apache's, maybe not) and started up again.

How do i shutdown the way i am expecting through the terminal?

share|improve this question
up vote 8 down vote accepted

halt will do what you're looking to do.

sudo halt

Otherwise I believe you wanted to do

sudo shutdown -h now


share|improve this answer
-1 for citing halt; halt is semantically meant to kill all processes immediately; shutdown ensures a clean shutdown. – Hello71 Jan 16 '11 at 2:36


sudo 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.