You must log in or # to comment.
Can you give Linus a Raiden hat?
What is the difference between that and simply
reboot
? Doessystemctl reboot
have any benefits?Wondering the same
Edit: after a quick google session it seems like usually the
reboot
command is linked tosystemctl
so it should be pretty much the same thing as far as I understand.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.
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 now -r
Sudo reboot now