How to restart Linux PC
Posted: Tue Mar 27, 2012 6:43 am
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):
OR
You can also use sudo command under Ubuntu Linux:
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
# /sbin/reboot
Code: Select all
# /sbin/shutdown -r now
Code: Select all
$ sudo reboot
Code: Select all
# shutdown -r +5