155 points

Don’t run this command unless you want to delete all the files on your system and break Linux on your system.

permalink
report
reply
218 points

is linux that dependant on French? wow

permalink
report
parent
reply
49 points

Oui

permalink
report
parent
reply
26 points

Did you know? Linus Torvolds is actually the consort child of two french people! That’s why you have to use the french flag when removing folders, it’s an ode to his upbringing

permalink
report
parent
reply
9 points

Stallman is fuming rn

permalink
report
parent
reply
5 points

It’s actually called “Le Nux” but it had to be changed so it wasn’t too controversial for the rest of the world

permalink
report
parent
reply
3 points

Lmfao 🤣🤣

permalink
report
parent
reply
2 points

Oui

permalink
report
parent
reply
1 point

Dependency hell

permalink
report
parent
reply
44 points

So what you’re saying is, it is true that I will no longer have French installed.

permalink
report
parent
reply
19 points

A risk worth taking

permalink
report
parent
reply
6 points

What a kind soul

permalink
report
parent
reply
-5 points

Find that out the hard way?

Do you just hate the french that much? Because I do.

permalink
report
parent
reply
125 points

I get these are jokes but I really don’t find anything funny about it, it becomes a meme and then people start getting more creative and pushing it more and being more covert and people come up with other little japes then new Linux users get their shit destroyed and maybe important info gets lost or precious memories so they say Linux is a piece of shit and go back to windows.

It’s not even funny to start with so when it inevitably inspires people to be assholes and bullies that’s all we’ve achieved.

permalink
report
reply
39 points

It’s the new “delete system32 to get better performance”

permalink
report
parent
reply
20 points

Lol rm -rf as a joke isn’t new anyway

permalink
report
parent
reply
4 points

except you probably delete more than system files which could be easily restored from an install disk

permalink
report
parent
reply
32 points

I totally agree. We should be more open and welcoming to new users. Imagine some new people on the steam deck being curious and diving into Linux and running into this. Undoubtedly, we’d lose at least a few users that brick their machines.

I get that this humor fits and entertains the technically inclined of us, but if we truly want more widespread use of Linux, shouldn’t we open our arms to less technical users as well? Besides, even for the more technical of us, this joke is so old and run down 🙃

permalink
report
parent
reply
20 points

Eh, this is a classic joke by now. There’s those jokes on the Windows side too (like the ‘delete system32’ one).

permalink
report
parent
reply
11 points

Except that you cannot actually delete System32 on Windows like you can delete your whole drive on Linux.

permalink
report
parent
reply
18 points
*

Yes, but also I would hope that if you have the autonomy to install linux you also have the autonomy to look up an unknown command before running it with superuser privileges.

permalink
report
parent
reply
18 points

That’s making an assumption that a brand new Linux user knows they are running the command with superuser privileges.

Half the time you websearch a problem you are having in Linux you will find someone telling you to fix it by running a command that starts with sudo without explaining what any part of the command does. New people probably regularly run those commands without finding out what it does and it probably works (or at least does no harm) a good portion of the time because most people aren’t dicks. So then you’ve got new people trusting that form of advice.

It’s hard to blame them, they are new to the system and very few experienced users are going out of their way to explain the basics to new users.

permalink
report
parent
reply
3 points

I’m around 20 years Linux user and I’m still installing various soft by curl bashing a script from their site.

permalink
report
parent
reply
6 points

https://www.rust-lang.org/tools/install

Why is it the canon way to install rust by piping curl output to sh???

permalink
report
parent
reply
2 points

Trusting official installation instructions from the software developer might be a step or two down from trusting your distro’s package maintainers, but it’s still several steps up from trusting random advice from a forum or chatroom.

And with the possible exception of Ken Thompson or Ben Eater, we’ve all got to trust somebody.

permalink
report
parent
reply
6 points

It’s a word play that many people find funny. It’s also a call back to something you might have done as a newbie when messing around that people find funny, like talking about that time you thought tried to wash okra after chopping or mixed coloured and white clothes in the laundry. A horrifying experience when it happens but something that you usually find funny later on in retrospect.

Apart from that sudo in Linux comes with enough warning labels to say that it should only be used when you know what you’re doing. Running unknown commands on terminal is dangerous, like trying to play with the stuff under the hood in a car. Both of these facts are abundantly made clear with big red warning signs in every single reputable source you look up for any popular distro.

permalink
report
parent
reply

I mean, I’m pretty tech savvy, but I fell for a troll when setting up a CUDA cluster once. Typed some command I thought would remove an old driver, wiped the system and I started from scratch.

I learned to understand every command before blindly typing it in.

permalink
report
parent
reply
2 points

Die you remember what was the trolls command was?

permalink
report
parent
reply

I’m sure it was some form of rf *, but I don’t remember the entire command.

permalink
report
parent
reply
4 points

It was funny when I was a sixth grade punk. Now it’s just cringe worthy.

permalink
report
parent
reply
11 points

“It was funny when I used to do it but now I don’t like them anymore so everyone else should stop.”

permalink
report
parent
reply
18 points

It’s okay, nay, good to realise that something you do or did was harmful and change your opinion of said thing. It’s how you grow as a person.

permalink
report
parent
reply
3 points

It’ll be a good learning experience for anyone who runs commands seen on this community.

permalink
report
parent
reply
6 points
*

They don’t need learning experiences with Windows. Lot of folks dont want to learn, they wanna do things like browse the web, game, work on their jobs, ect. They need a system that just works

permalink
report
parent
reply
2 points

This is a meme page… I would get this comment if it was in a linux community

permalink
report
parent
reply
1 point

they’ll learn to not run any command they see from the internet, the hard way 😔

permalink
report
parent
reply
100 points
*

Careful, you have to also add --no-preserve-root to make sure you get all of it out. If you leave the roots, it’ll just grow back later!

(But seriously, don’t actually do this unless you’re prepared to lose data and potentially even brick your computer. Don’t even try it on a VM or a computer you’re planning to wipe anyway, because if something is mounted that you don’t expect, you’ll wipe that too. On older Linux kernels, EFI variables were mounted as writable, so running rm -rf / could actually brick your computer. This shouldn’t still be the case, but I wouldn’t test it, myself.)

permalink
report
reply
45 points
*

Fun fact, rm -rf /* does not need --no-preserve-root. It will happily start as technically, according to the preserve root check, /* is not root as the target is not /

permalink
report
parent
reply
15 points
*

It’s slightly different. Your shell will see the /* and replace it with all the directories under /, e.g. /bin /dev /etc /home etc. So the actual command that runs is rm -rf /bin /dev /etc /home etc.

permalink
report
parent
reply
24 points

Careful, you have to also add --no-preserve-root to make sure you get all of it out. If you leave the roots, it’ll just grow back later!

Oh my god I effin guffawed, thanks for that

permalink
report
parent
reply
3 points

I ran it in Hyper-V once to see what happens and it deletes all the boot entries from the VM firmware (including pxe boot and the dvd drive)

permalink
report
parent
reply
77 points

I have checked this and can confirm that after entering this command, there is no more French in the system. 👍

permalink
report
reply
17 points

(Nor anything else…)

permalink
report
parent
reply
13 points

Awesome thanks, I just also run it now waiting for it to fin

permalink
report
parent
reply
59 points
  1. Don’t run any command you don’t understand
permalink
report
reply
29 points

That’s why you run this one though because you don’t understand French. After you run this you’ll understand every command afterwards.

permalink
report
parent
reply
4 points

You’ll certainly understand french after running it

permalink
report
parent
reply
20 points

blindly copy and pastes top stack overflow answer

permalink
report
parent
reply
1 point

Yeah, seriously don’t do that!

permalink
report
parent
reply
10 points

What about downloading a shell script and piping it directly into a shell?

permalink
report
parent
reply
6 points

Well, I understand it removes the french language, right? /s

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 3.4K

    Monthly active users

  • 1K

    Posts

  • 37K

    Comments