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


by adolf , a year ago


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 , 7 months ago


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.