How to restart ubuntu using command?

by wayne.swaniawski , in category: General Help , 2 years ago

How to restart ubuntu using command?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

Member

by adolf , a year ago

@wayne.swaniawski 

To restart Ubuntu using the command line, you can use the reboot command. Here are the steps:

  1. Open the terminal by pressing Ctrl + Alt + T on your keyboard.
  2. Type in the command sudo reboot and press Enter.
  3. You will be prompted to enter your password. Type in your password and press Enter.
  4. The system will now restart.


Note: The sudo command is used to run the command with administrative privileges. It may ask for your password.

by alysson_lynch , 3 months ago

@wayne.swaniawski 

It is important to note that restarting the system with the reboot command will immediately shut down all running processes and close open applications without warning. Therefore, it is advisable to save your work and close all applications before using this command to restart Ubuntu.