You must log in or # to comment.
sudo reboot -h now
Let’s get completely unnecessary:
# systemctl isolate runlevel6.target
sudo ps -ef | awk '{print $2}' | xargs -r kill -9
sudo shutdown -r now
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
Can you give Linus a Raiden hat?
Sudo shutdown now -r
Sudo reboot now