You must log in or register to comment.
sudo reboot -h now
Let’s get completely unnecessary:
# systemctl isolate runlevel6.target
sudo shutdown -r now
sudo ps -ef | awk '{print $2}' | xargs -r kill -9
Alt-SysReq-B
What is the difference between that and simply
reboot
? Doessystemctl reboot
have any benefits?reboot
is linked (aliased) to your init program. In the case you are using systemd then it’s equivalent tosystemctl reboot
.reboot
is generic and calls whatever init program you use.There are more than one init. Like for example GNU Shepherd.
Gentoo uses OpenRC
Sudo shutdown now -r
Sudo reboot now