reboot yourself

430 points · 40 comments · view on lemmy.world

40 Comments

SatyrSack@lemmy.one · 34 pts · 2y (5 replies)

What is the difference between that and simply reboot? Does systemctl reboot have any benefits?

meekah@lemmy.world · 31 pts · 2y

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.

mariusafa@lemmy.sdf.org · 27 pts · 2y (3 replies)

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.

InFerNo@lemmy.ml · 10 pts · 2y

SysV, Upstart

msage@programming.dev · 9 pts · 2y

Gentoo uses OpenRC

lemmesay@discuss.tchncs.de · 1 pts · 2y

runit

TunaCowboy@lemmy.world · 27 pts · 2y (15 replies)

sudo reboot -h now

finkrat@lemmy.world · 20 pts · 2y

Let's get completely unnecessary:

# systemctl isolate runlevel6.target
jdr@lemmy.ml · 18 pts · 2y (7 replies)
# init 6
toynbee@lemmy.world · 11 pts · 2y (6 replies)

You, like me, must be old.

I also frequently pass -l to the ssh command.

jbk@discuss.tchncs.de · 2 pts · 2y (1 reply)

I'm not old, I just like how short the command is

toynbee@lemmy.world · 2 pts · 2y

Fair enough, I can respect that.

ulterno@lemmy.kde.social · 1 pts · 2y (3 replies)

I didn't get that.

Checked the man and it's not deprecated. So what does it have to do with "old"?

toynbee@lemmy.world · 2 pts · 2y (2 replies)

Nowadays most Linux users seem to use ssh user@host. When I was getting started, that didn't exist (or at least I was unaware of it) so I still frequently use the -l flag instead.

Nothing wrong with it, just that at least I mostly encounter its use by experienced users.

ulterno@lemmy.kde.social · 1 pts · 2y (1 reply)

OIC. Good to know in case I ever have to work on some old CentOS 5 box lying around ever again.
It also looks kinda proper, using that instead of the @, so when making shell scripts, I might want to prefer this.

KickMeElmo@sopuli.xyz · 12 pts · 2y

sudo shutdown -r now

rickyrigatoni@lemm.ee · 11 pts · 2y

I just flick the switch on the surge protector.

bdonvr@thelemmy.club · 9 pts · 2y

Alt+SysRq-O

thr0w4w4y2@sh.itjust.works · 9 pts · 2y
sudo ps -ef | awk '{print $2}' | xargs -r kill -9
SnotFlickerman@lemmy.blahaj.zone · 6 pts · 2y (1 reply)

sudo reboot 0

...is my go-to.

I_poop_from_there@lemmy.world · 14 pts · 2y

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.

deegeese@sopuli.xyz · 19 pts · 2y

Can you give Linus a Raiden hat?

perviouslyiner@lemmy.world · 15 pts · 2y

PuTTY: "unexpectedly" disconnected.

ColdWater@lemmy.ca · 15 pts · 2y

Dummy me I type "systemctl restart" instead 🤦‍♂️

Psiczar@aussie.zone · 8 pts · 2y (1 reply)

Sudo shutdown now -r

sjanssen15@lemmy.world · 2 pts · 1y

Sudo reboot now

user1234@lemmynsfw.com · 7 pts · 2y

run0 reboot

Zozano@lemy.lol · 7 pts · 2y (1 reply)

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?

dadarobot@lemmy.sdf.org · 5 pts · 2y

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

guy_threepwood@lemmy.world · 5 pts · 2y

Alt-SysReq-B

corsicanguppy@lemmy.ca · 3 pts · 2y (1 reply)

will shutdown now

'shut down' is two words, here.

lseif@sopuli.xyz · 1 pts · 2y

the meme spells it like the command shutdown ;-)

model_tar_gz@lemmy.world · 2 pts · 2y (1 reply)

sudo

4am@lemm.ee · 4 pts · 2y

Live Mas as the root account

NeatNit@discuss.tchncs.de · 2 pts · 2y (2 replies)

I will always use the GUI for this when given the option. Change my mind (you can't).

Gingernate@programming.dev · 2 pts · 2y

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.

Hawk@lemmynsfw.com · 1 pts · 2y

I often remote into my machine, so it's a lot easier to type the command.

SpaceCadet@feddit.nl · 1 pts · 2y (1 reply)

lemmesay@discuss.tchncs.de · 3 pts · 2y
A stop job is running for ... (45min / no limit)