reboot yourself
reboot yourself
reboot yourself
What is the difference between that and simply reboot
? Does systemctl reboot
have any benefits?
Wondering the same
Edit: after a quick google session it seems like usually the reboot
command is linked to systemctl
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 to systemctl reboot
.
reboot
is generic and calls whatever init program you use.
There are more than one init. Like for example GNU Shepherd.
SysV, Upstart
Gentoo uses OpenRC
runit
sudo reboot -h now
Let's get completely unnecessary:
# systemctl isolate runlevel6.target
sudo shutdown -r now
I just flick the switch on the surge protector.
sudo ps -ef | awk '{print $2}' | xargs -r kill -9
Alt+SysRq-O
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.
Can you give Linus a Raiden hat?
PuTTY: "unexpectedly" disconnected.
Dummy me I type "systemctl restart" instead 🤦♂️
Sudo shutdown now -r
Sudo reboot now
run0 reboot
I've repurposed a broken T2 macbook with Ubuntu Server, but any time I issue a reboot command, it just shuts down, and I need to manually walk to my garage and boot it back up.
Does anyone know why I'm so stoopid?
I was having issues with my pc hanging on reboot, so i changed the bios to auto boot when power is applied, and use a smart switch to manually power cycle when it hangs.
Not sure if the mac bios supports that, but its worth a look
Alt-SysReq-B
will shutdown now
'shut down' is two words, here.
the meme spells it like the command shutdown
;-)
I will always use the GUI for this when given the option. Change my mind (you can't).
I won't try but I'll always use the command line.
It's faster for me! Ctrl+alt+T brings up terminal, sudo reboot. Enter.
I often remote into my machine, so it's a lot easier to type the command.
sudo
Live Mas as the root account
systemd
A stop job is running for ... (45min / no limit)