Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have noticed that some of my machines do not switch off (since the upgrade to Precise) when I choose "Shutdown..." from the menu in the upper right corner of Unity. If the system is powered down or not is a kind of random. However, whenever I use the Terminal to sudo shutdown -h now it will switch off the machine reliably. After having read this answer, I wonder what command Unity issues to initiate the shutdown (and power off) of the system?

share|improve this question

1 Answer 1

The one I use is:

sudo shutdown -P now

That will Shutdown and Power Off the PC

share|improve this answer
    
Is that the one which is used by Unity to shut down the machine? –  Andre Dec 3 '12 at 18:37
    
Not exactly but it does the same thing. –  japzone Dec 3 '12 at 18:43
    
Doing this is indeed safe. –  SiddharthaRT Dec 4 '12 at 1:03

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.