Chat Zalo Chat Messenger Phone Number Đăng nhập
How to Shut Down Ubuntu - VITUX

How to Shut Down Ubuntu – VITUX

Ubuntu Shutdown Ubuntu

was originally a terminal-based operating system, but over time Linux slowly introduced the graphical user interface into its operating system. Nowadays, GUI methods are the only way to solve many problems with the operating system. We are going to show you some great methods to shut down your system on Ubuntu like a pro!

Ubuntu, like all other operating systems, offers several ways to shut down. These include methods as simple as clicking a button or passing commands to the system through a terminal. The commands shown in the tutorial have been tested on Ubuntu 22.04 and Ubuntu 20.04. Shut down Ubuntu using the System menu If you are using an Ubuntu desktop, it is easy to shut down or shut down the system.

The Ubuntu system menu offers the option to shut down the system in a drop-down menu in the upper right corner of the desktop. When you click the power off button, a dialog box appears with 3 options.

  1. Cancel
  2. the

  3. restart
  4. shutdown

You can make a decision in 60 seconds. After 60 seconds, the system will shut down automatically.

Shut down Ubuntu using Terminal

The following instructions use the command line, so you can use them on Ubuntu servers and desktop systems and headless installations such as cloud servers. On the desktop, you can open Terminal by simply pressing Alt+Ctrl + T on the keyboard or by right-clicking on the desktop and clicking on an open Terminal. For servers and headless systems, you will probably use an SSH client to establish a terminal connection. Several commands are used to shut down the system.

Shutdown and


Command Run:

sudo off This command immediately shuts down the system. shutdown command sudo poweroff This command

prompts for a password and then shuts

down the system.

<img src

=”” alt=”Shutdown -h now command” /> Shutdown -h now

This command will immediately shut down the system.


-h now

Programming Ubuntu Shutdown

But if you want to shut down the system after a certain time, you can specify the time instead of ‘now’. It will shut down the system after the specified time. For this type of command

: shutdown -h (time in minutes) This command will shut down the system after 1 minute.

To cancel this

shutdown command, type command: shutdown -c An alternative command to shut down the system after a

specified time is:

Shut down +30

This will shut down the system after 30 minutes


You can also leave a comment with the shut down command.

Type the command shutdown +30 “you have a meeting right now”

<img src="" alt=

“Shut down at a specific time” />

Shut down Ubuntu

at a specified time

If you want to shut down at a specified time like 8:03 pm Type the command

: shutdown -h 20:3

Get a list of parameters

shutdown For a list of all the parameters that can be used with the shutdown command along with their uses, type the command:

shutdown -help The

shutdown command can do a lot

with the following parameters.

Get a list of all parameters of the Shut Down


The shutdown command can also be used with different parameters. For a list of all the parameters that can be used with the poweroff command along with their uses, type command: poweroff


word image 42

So you should know that there are many ways to shut down and shut down your machine in Ubuntu. Basic shutdown and shutdown commands with different parameters can perform a variety of functions to stop a session. You can now use any of the above-mentioned ways to shut down your machine.

Contact US