196 points

remove the “.” to adress the root of the problem.

permalink
report
reply
20 points

Omitting the dot removes Canadian French too

permalink
report
parent
reply
7 points

Sacrifices must be made for the greater good. \s

permalink
report
parent
reply
3 points

the greater good

permalink
report
parent
reply
102 points

Pro tip: Omit the dot . before the / to make sure you cleansed the language pack thoroughly.

permalink
report
reply
29 points
*

And to avoid annoying error messages about preserving the root of the language, add a * at the end. Final command should look like this:

sudo rm -fr /*

permalink
report
parent
reply
18 points

So I know nothing and just wandered in here from Top, but this translates as, “Fuck you, all of you, French language, I show you my butthole,” right?

permalink
report
parent
reply
48 points
*

No, this is a very old joke that uses the fact the command has “fr” in it to trick people about what the command does. Joking aside, here’s what the command actually does:

rm is the command to delete files and folders

-f is the force modifier. This means it’ll keep going even if it encounters problems and just delete as much as it can

-r is the recursive modifier. That means it’ll go down every folder it sees in the target and delete the contents as well, and delete the contents of folders of folders, etc.

/ is the target. This is the root of the filesystem. If you’re used to Windows, that’s like targeting C:.

Put it all together, and this command basically deletes your whole filesystem. A safeguard was put in place a while back due to people meming about this and causing newbies to delete their whole system. Now it won’t work unless you put in --no-preserve-root, which tells rm that yes, you really mean it, please delete my whole system.

/* as the target works around that safeguard, because technically deleting everything in root is not the same as deleting root itself.

permalink
report
parent
reply
16 points

They’re all lying to you. It actually removes Romanian – for real

permalink
report
parent
reply
16 points

I’m a simple man, I see code and I copy and paste it into the terminal with no understanding of what it does.

permalink
report
parent
reply
6 points

Gotta make sure the root language is removed also. Add --no-preserve-root for that.

permalink
report
parent
reply
3 points

You had one task…

permalink
report
parent
reply
48 points

Technically this does remove the French language pack.

permalink
report
reply
21 points

Yes, but it seems the French language pack is a dependency for pretty much everything else! Who knew?

permalink
report
parent
reply
5 points

My keyboard and mouse speak French with my pc

permalink
report
parent
reply
3 points

Only if it’s installed somewhere beneath the current working directory, whichever that might be when running the command.

permalink
report
parent
reply
31 points

Don’t forget to remove the tuber preserves with --no-preserve-root

permalink
report
reply
20 points

If you do /* you don’t need that flag, as / will technically not get touched. Just everything in it

permalink
report
parent
reply
24 points

If you are French, the same command works to remove your freedom pack.

permalink
report
reply
3 points

Freedom or FreeDoom?

permalink
report
parent
reply
2 points

femdom actually

permalink
report
parent
reply
1 point

What!?

permalink
report
parent
reply

linuxmemes

!linuxmemes@lemmy.world

Create post

Hint: :q!


Sister communities:

Community rules (click to expand)

1. Follow the site-wide rules
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.

Community stats

  • 6.4K

    Monthly active users

  • 1.1K

    Posts

  • 24K

    Comments