Can you give Linus a Raiden hat?
Dummy me I type “systemctl restart” instead 🤦♂️
sudo reboot -h now
# init 6
sudo shutdown -r now
sudo reboot 0
…is my go-to.
reboot -f
Because real men login as root and don’t care about such silly things like an init system or file system syncing!
To quote the man page:
-f Does not invoke shutdown(8) and instead performs the actual action you would expect from the name.
Let’s get completely unnecessary:
# systemctl isolate runlevel6.target
Alt+SysRq-O
I just flick the switch on the surge protector.
PuTTY: “unexpected” disconnection.
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.
Wondering the same
sudo
Live Mas as the root account