422
reboot yourself (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] TunaCowboy@lemmy.world 26 points 1 week ago
[-] finkrat@lemmy.world 19 points 1 week ago

Let's get completely unnecessary:

# systemctl isolate runlevel6.target
[-] jdr@lemmy.ml 18 points 1 week ago
[-] toynbee@lemmy.world 11 points 1 week ago

You, like me, must be old.

I also frequently pass -l to the ssh command.

[-] jbk@discuss.tchncs.de 2 points 1 week ago

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

[-] toynbee@lemmy.world 2 points 1 week ago

Fair enough, I can respect that.

[-] ulterno@lemmy.kde.social 1 points 1 week ago

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 points 1 week ago

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 points 1 week ago

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 points 1 week ago

sudo shutdown -r now

[-] rickyrigatoni@lemm.ee 11 points 1 week ago

I just flick the switch on the surge protector.

[-] bdonvr@thelemmy.club 9 points 1 week ago
[-] thr0w4w4y2@sh.itjust.works 7 points 1 week ago* (last edited 1 week ago)
sudo ps -ef | awk '{print $2}' | xargs -r kill -9
[-] SnotFlickerman@lemmy.blahaj.zone 6 points 1 week ago* (last edited 1 week ago)

sudo reboot 0

...is my go-to.

[-] I_poop_from_there@lemmy.world 14 points 1 week ago* (last edited 1 week ago)

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.

this post was submitted on 07 Sep 2024
422 points (96.9% liked)

linuxmemes

20772 readers
1236 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS