How to Reboot Restart Ubuntu Through Command Line

Restarting your Ubuntu system help to solve some problems like software glitch, configuration changes, unable to access system GUI and many more. In Ubuntu you can restart or reboot your system using below methods.

How to Restart Ubuntu Linux

1. The reboot command

Open the terminal application (ctrl+alt+t) and run below command. It will restart your Ubuntu Linux system.

sudo reboot

[OR]

reboot

2. The shutdown command

You can also restart your Ubuntu system via the shutdown command with -r flag like below command.

sudo shutdown -r

You can also schedule the reboot like below

sudo shutdown -r +5

The above command will reboot your system after 5 minutes.

Also Read:  How to install Lighttpd web server on Ubuntu

3. The init command

Use the init command like below to restart your system.

init 6
If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.



Leave a Reply