Skip to main content

Posts

Showing posts from March, 2024

Shutdown or Restart Ubuntu

Ubuntu commands to restart or shutdown the server  1. Ubuntu Reboot command Ubuntu Linux terminal we can run to restart it is “Reboot“.   This command can be used with or without sudo, however, if some Admin process is not allowing you to restart the computer then it is recommended to use sudo with the command.      Sudo reboot The system will prompt you to enter the current user password to initiate the reboot command. 2. Sudo Shutdown Command “shutdown” command with the -r option. It will properly first shut down the computer and then restart the same because we have used the -r option with it. The syntax to use is here:      sudo shutdown -r now 3. REISUB Sequence (Emergency Restart) If your Ubuntu system is not responding properly then the REISUB sequence is quite handy to safely start it. In this method, we have to type REISUB in our command terminal in the same sequence it is written while holding ALT and Print screen keys. So, on your computer open the command terminal and then