How To Restart Ubuntu Server

Looking to restart Ubuntu server and don’t know how then we have solution for you. You don’t need to feel shy or worried as we all know we become perfect by learning constantly. There are multiple ways to restart your Ubuntu server.

How To Restart Ubuntu Server

We will show you the 3 easy way to restart Ubuntu server.

1. Use systemd command To restart Ubuntu server

In your Ubuntu server, Execute the following command to restart the Ubuntu server.

sudo systemctl reboot

2.  Use the reboot command to restart the Ubuntu server

If you are looking forward to restart the Ubuntu server immediately, then this is the  quick way to restart the Ubuntu server. If you don’t use the ‘now’ option in following command then it will reboot the system after one minute.

sudo reboot now

3. Use shutdown command to restart the Ubuntu server.

Run the following shutdown command in the terminal with the option -r. Alternatively, You can also use the -H option which stands for a halt.

sudo shutdown -r now

Following command will first terminate all the processes that are running in the Ubuntu server and then shut down the CPU.

sudo shutdown -r -H +0

 

Let us know if you want to add more methods or command to restart Ubuntu server.

Leave a comment

Your email address will not be published. Required fields are marked *