On Windows, there are several ways to quickly shut down a computer to save users' time. You can shut down your computer quickly by using hotkeys or command lines, and the same goes for Ubuntu. We will introduce you to how to shut down Ubuntu using shortcuts on the screen to achieve a faster shutdown.
To execute immediately, open Terminal (Ctrl + Alt + T) and then enter shutdown -h now.
Press Enter, and your machine will shut down immediately
To create a shortcut, follow these steps:
Step 1: On an empty space outside the screen
Step 3: Open the newly created file and paste the following code
[Desktop Entry]
Name=
Exec=shutdown -h now
Icon= <path='' to='' image=''>
Type=
Categories=
Step 4: Right click on the file and select Properties
Step 5: Switch to the Permission tab and choose Allow executing file as program
Now double-click the newly created file, and your computer will shut down immediately. You can also create similar shortcuts as long as your Exec command makes sense, such as shortcuts for Rebooting or logging out quickly from the screen.
Above is the guide to help users quickly shut down Ubuntu. In case you want to boot Ubuntu quickly for work, you can refer to the method we have instructed in the previous article.
Wishing you all success!