Categories: DebianLinuxShell

How to Shutdown or Reboot Debian 11

In this guide, we will show you how you can reboot or shut down (power off) a Debian server or desktop from the command line (Terminal).

Debian shutdown command

The first step is that you open the Terminal, or connect to the system by SSH. Then you run the following command to shut down the system.

shutdown --poweroff

The shutdown command will power off the Debian system, it can be canceled by running this command:

shutdown -c

If you want to immediately power off the system, use this command instead:

shutdown --poweroff now

The shutdown command can also be used to reboot a Debian Linux server or desktop. Run the following command:

shutdown --reboot

Use Debian systemctl command to reboot or power off a system

Instead of using the shutdown command, you can also use systemctl for powering off or restarting a system.

Power off Debian 11 power  with systemctl:

systemctl poweroff

Rebooting Debian 11 with the systemctl command:

systemctl reboot
Vitux Staff

Recent Posts

How to Install Magento 2 on AlmaLinux

Magento is a free and open-source e-commerce platform written in PHP. It is simple, easy…

1 year ago

How to Install ISPConfig Hosting Control Panel with Apache Web Server on Ubuntu 24.04

ISPConfig is an open-source control panel that allows users to manage multiple servers from a…

1 year ago

How to Test your Email Server (SMTP) Using the Telnet Command

As a Linux administrator, you may find it necessary to troubleshoot or test your Simple…

1 year ago

Managing Network Interfaces and Settings on Ubuntu 24.04 with nmcli

Ubuntu 24.04, like many modern Linux distributions, relies on the NetworkManager for managing network connections.…

2 years ago

Using Restic Backup on Ubuntu 24.04

Restic is a modern, open-source backup program designed for efficiency, security, and simplicity. It enables…

2 years ago

Installing phpMyAdmin on Rocky Linux 9 and Securing it with Let’s Encrypt SSL

phpMyAdmin is a popular free tool written in PHP intended to administer MySQL and MariaDB…

2 years ago