How to Shutdown or Reboot Debian 10 (Buster)
—
You need to know that traditional commands for halting and rebooting will not be used any more for Debian 10. Now this system is fully switched to Systemd.
At first for work with a system you need to use a root user for commands.
Below you could find systemd equivalents which need to be used on Debian 10:
For shutdowning Debian 10 use next command:
systemctl poweroff
For rebooting Debian 10 command:
systemctl reboot
You might also want to read other articles: