Debian 10 has now fully switched to Systemd which means that the traditional commands to halt or reboot a system like 'shutdown -h now' or 'reboot' will not work anymore. First of all, run the command as root user. If you are not logged in as root, prepend the sudo command. Here are their systemd equivalents which need to be used on Debian 10:
Shutdown Debian 10
The command to shut down (power off) a Debian 10 system is:
systemctl poweroff
Reboot Debian 10
If you want to reboot your server or Desktop, use this command:
systemctl reboot
Thanks for the tips
why change?
If it works one way, that’s why Linux only loses the public.
NetPlan another disaster, a programming language for changing a network configuration, ridiculous
improve what already exists, this is efficiency.
sometimes less is more…
This is stupid!! There is to internet to look for how poweroff the machine. ALL the time poweroff now it doenst work
What is the benefit about this!
NONE!
Why? Why it is changed reboot to systemctl reboot? Why?
i used debian more than 10 years and someone change commands in all system. this is sample how people can destroy what was good
I use ssh to connect to Buster. Here are the old commands availbale.
alias reboot=”systemctl reboot”
alias poweroff=”systemctl poweroff”
fixed it
I’d like to know the name of idiots who proposed and accepted those changes.
systemd… I’ll use Gentoo with OpenRC for a few more years 😉
Hello,
The command still are there:
/sbin/reboot /sbin/halt…
Just add this lines in .bashrc: export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
More info here: https://wiki.debian.org/NewInBuster
Regards.