this post was submitted on 07 Sep 2024
426 points (96.9% liked)
linuxmemes
20946 readers
131 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
sudo reboot -h now
Let's get completely unnecessary:
You, like me, must be old.
I also frequently pass
-l
to thessh
command.I'm not old, I just like how short the command is
Fair enough, I can respect that.
I didn't get that.
Checked the
man
and it's not deprecated. So what does it have to do with "old"?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.
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.https://youtu.be/PeWMwrdFBw0?t=144
sudo shutdown -r now
I just flick the switch on the surge protector.
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: