Ubuntu Basic Terminal commands Restart Ubuntu

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Example

You can restart ubuntu from command line. Below is example of restarting ubuntu immediately.

 sudo reboot

You need to have sudo privilege in order to use this command.

Another commands with same results are sudo shutdown -r now and sudo init 6.



Got any Ubuntu Question?