Skip to content
Follow
Ubuntu Linux

How to Properly Shut Down Ubuntu Linux: A Complete Guide

Richard
Written by
Richard
Aug 28, 2022 Updated Aug 13, 2026 2 min read
How to Use Sticky Notes in Windows 11
How to Use Sticky Notes in Windows 11

Shutting down Ubuntu Linux safely means closing all open apps and saving your work before the computer loses power. Taking this step stops file damage and keeps your files safe.

You can turn off your PC using the desktop menu or by typing commands like sudo shutdown -h now in the terminal.

⚡ Quick Answer

You can shut down Ubuntu via the system menu in the top-right corner, selecting Power Off / Log Out, then Power Off. Alternatively, use the command line with `sudo shutdown now`. For emergencies, holding the physical power button is an option.

How to turn off the PC in Ubuntu Linux from the system menu

To shut down Ubuntu Linux from the system menu, click the icon in the top-right corner of your screen. Then, choose ‘Power Off / Log Out’ from the menu. A new window will appear where you click ‘Power Off’ again to confirm the shutdown.

Click the system menu in the top-right corner of the screen, select ‘Power Off / Log Out’, and then click ‘Power Off’ from the expanded choices.

Ubuntu Linux system menu showing shutdown options
ubuntu linux system menu shutdown

From the expanded options, select ‘Power Off’.

Expanded power off menu in Ubuntu Linux
ubuntu linux expanded power off menu

Finally, click the ‘Power Off’ button to shut down your Ubuntu PC.

Power off button in Ubuntu Linux interface
ubuntu linux power off button

Shutdown Ubuntu Linux from the command line

Open a terminal by pressing CTRL + ALT + T if you prefer working from the command line. Then, use the commands below to shut down your PC.

🐧Bash / Shell
sudo shutdown now

To schedule a shutdown for a specific time, use the 24-hour clock format. You'll specify the time with the shutdown command.

example: shutdown at 5:00 PM

🐧Bash / Shell
sudo shutdown 17:00 

Users can also set a delay before the shutdown happens. For instance, to shut down in 15 minutes, use the following command:

🐧Bash / Shell
sudo shutdown +15

Shutdown Ubuntu Linux using the PC Power button

Should the system menus fail, your computer's physical power button offers another way to shut down Ubuntu Linux. Press and hold the power button for a few seconds. This is a reliable way to force your computer to turn off completely when other methods fail.

One of these methods will get your system safely powered down, regardless of your current situation.

Ubuntu Linux offers a few different ways to shut down depending on what you are trying to do.

  • Ubuntu Linux offers various methods to shut down the system, catering to user preferences and circumstances.
  • The system menu provides an intuitive, graphical way to shut down the PC, accessible from the top-right corner of the top bar.
  • Command line enthusiasts can utilize the 'sudo shutdown' command to turn off the PC, with options to specify a time or wait duration.
  • As a last resort, holding the power button or disconnecting the power plug may be employed if other methods fail, though these should be used sparingly.

Was this guide helpful?

Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Turn "Week Numbers" On or Off for Calendar in Ubuntu Linux
Ubuntu Linux How to Turn "Week Numbers" On or Off for Calendar in Ubuntu Linux
How to Show Weekday on Ubuntu Top Menu Bar
Ubuntu Linux How to Show Weekday on Ubuntu Top Menu Bar
How to Add or Remove the Sign-In Screen Power Button in Windows 11
Windows How to Add or Remove the Sign-In Screen Power Button in Windows 11
How to Add Weather Info to Ubuntu Top Menu Bar
Ubuntu Linux How to Add Weather Info to Ubuntu Top Menu Bar

3 Comments

Leave a Comment

Your email address will not be published. Required fields are marked *