How to restart ubuntu using command?

by wayne.swaniawski , in category: General Help , a year ago

How to restart ubuntu using command?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by adolf , 6 months 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.