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

2 Answers 2

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

Source

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

Try

sudo shutdown -h now
share|improve this answer

Your Answer

 
discard

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.