Using shutdown command
Open the terminal and execute the following command to shut down the machine,
/usr/sbin/shutdown --poweroff
This will shut down the machine. If you want to cancel, you have to use the -c switch along with shutdown command.
Similarly, when you have to reboot, execute the below command. If you want to cancel your action, use –reboot option.
Using systemctl command
An alternative to the shutdown command is to use the systemd systemctl command.
Debian 10 power off using systemctl:
systemctl poweroff
Debian 10 reboot using systemctl:
systemctl reboot
Similar Posts:
- how to upgrade proxmox mail gateway from 5.x to 6
- How To Add a User to Sudoers On Debian 10 Buster
- How To Install Node.js on Debian 10 buster
- How to install zabbix 5.2 on debian 10
- How to install Unifi Controller on Debian 10 (Buster)
1,422