this post was submitted on 12 Jul 2024
1801 points (99.1% liked)
linuxmemes
21355 readers
1511 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.
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
This took me a minute to figure out 😝
I don't get it.
sudo rm -fr /
Add
—no-preserve-root
if you really want to make sure it’s gone! /j--no-preserve-root
is only required if you try to remove/
. For/*
I don't think it's needed.Ah oops, I didn’t even catch that. Forgot that
/*
only matches to glob and thus wouldn’t try to remove/
I know just enough about Linux to know that's problematic. I don't know anything about language packs to know why someone try to remove one this way though. Just seems wrong from the get go.
It's an old joke:
sudo = admin rights
rm = remove
fr = force recursive (the more popular syntax is
"rf" but for the joke its "fr" which looks like a short form for French)
/ * = C:\
It doesn't remove the French language pack, it removes the entire harddrive.
Tbf it does remove the french language pack.
And then some more.
I understood the joke after seeing the command. It was getting the command from the joke that lost me. Cause I'd never have tried removing a language pack like that to begin with.
rm -fr /