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).
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
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
Magento is a free and open-source e-commerce platform written in PHP. It is simple, easy…
ISPConfig is an open-source control panel that allows users to manage multiple servers from a…
As a Linux administrator, you may find it necessary to troubleshoot or test your Simple…
Ubuntu 24.04, like many modern Linux distributions, relies on the NetworkManager for managing network connections.…
Restic is a modern, open-source backup program designed for efficiency, security, and simplicity. It enables…
phpMyAdmin is a popular free tool written in PHP intended to administer MySQL and MariaDB…