Page 1 of 1

How to restart Linux PC

Posted: Tue Mar 27, 2012 6:43 am
by Saman
You must login as root to reboot the system. Open the terminal and type any one of the following command to reboot the system (following is immediate reboot):

Code: Select all

# /sbin/reboot
OR

Code: Select all

# /sbin/shutdown -r now
You can also use sudo command under Ubuntu Linux:

Code: Select all

$ sudo reboot
It is a good idea to provide notification to all logged-in users that the system is going down and, within the last five minutes of TIME, new logins are prevented. Type the following command:

Code: Select all

# shutdown -r +5

Re: How to restart Linux PC

Posted: Fri Nov 09, 2012 9:51 pm
by SukhdeepMankoo
You can do the same thing using Command

init 6