Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How to shutdown the Ubuntu installed system and restart it by using terminal ?

share|improve this question

2 Answers

up vote 14 down vote accepted

For shutdown:

sudo poweroff

For restart:

sudo reboot
share|improve this answer

To shutdown the system

sudo shutdown -h now 

To restart

sudo reboot

& one more command for restart

sudo shutdown -r now
share|improve this answer
1  
You can also restart using sudo shutdown -r now. – Victor Hugo Feb 8 at 16:38
you can also shutdown with sudo halt or sudo init 0 and reboot with sudo init 6 – fromnaboo Apr 23 at 15:17
1  
@fromnaboo you can improve the answer my dear friend. we don't mind. please improve the answer as best as you can. – Jai Apr 23 at 15:18
@jai the target is to offer the op and everyone else alternative ways of doing what he has asked. – fromnaboo Apr 23 at 15:21
@fromnaboo I am just helping with what I know . Just sharing my ideas & nothing else. – Jai Apr 23 at 15:22

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.