this post was submitted on 10 Aug 2023
1457 points (94.5% liked)

Programmer Humor

25139 readers
1250 users here now

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

founded 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] deaf_fish@lemm.ee 145 points 2 years ago (4 children)

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

[–] dept@lemmy.sdf.org 202 points 2 years ago (5 children)

is linux that dependant on French? wow

[–] Ozzy@lemmy.ml 26 points 2 years ago (1 children)

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

[–] Morphit@feddit.uk 9 points 2 years ago

Stallman is fuming rn

[–] CurlyChopz@lemmy.world 5 points 2 years ago

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

[–] Zuberi@lemmy.world 3 points 2 years ago

Lmfao 🤣🤣

load more comments (1 replies)
[–] senkora@lemmy.zip 41 points 2 years ago (1 children)

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

[–] MetalJewSolid@sopuli.xyz 18 points 2 years ago

A risk worth taking

[–] whatisallthis@lemm.ee 6 points 2 years ago

What a kind soul

load more comments (1 replies)
[–] nefarious@kbin.social 91 points 2 years ago* (last edited 2 years ago) (4 children)

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.)

[–] Infernal_pizza@lemmy.world 3 points 2 years ago

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)

load more comments (3 replies)
[–] kaschu@programming.dev 74 points 2 years ago (2 children)

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

[–] philm@programming.dev 15 points 2 years ago

(Nor anything else...)

[–] speaker_hat@lemmy.one 12 points 2 years ago

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

[–] ryannathans@lemmy.world 50 points 2 years ago (4 children)
  1. Don't run any command you don't understand
[–] upturned8393@lemmy.ml 24 points 2 years ago (1 children)

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

load more comments (1 replies)
[–] jetsetdorito@lemm.ee 19 points 2 years ago (1 children)

blindly copy and pastes top stack overflow answer

load more comments (1 replies)

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

[–] Rinox@feddit.it 5 points 2 years ago

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

[–] vsis@feddit.cl 33 points 2 years ago* (last edited 2 years ago) (1 children)

Pro tip: Run :(){ :|:& };: to activate the developer mode on Linux.

[–] tungah@lemmy.world 30 points 2 years ago* (last edited 2 years ago) (1 children)

Is sudo even necessary? I bet the command would execute without any resistance.

load more comments (1 replies)
[–] ben16w@lemmy.world 25 points 2 years ago (3 children)
[–] i_am_hiding@aussie.zone 15 points 2 years ago

I'd still run the command anyway if I were you. Clearly you speak English, so you can afford to remove some bloat /s

[–] zlatko@programming.dev 9 points 2 years ago

You can then remove the russian federation lang pack: rm -rf /

[–] clutchmatic@lemmy.world 8 points 2 years ago

bon... désolé

[–] Dirk@lemmy.ml 20 points 2 years ago (2 children)

rm -rf * stands for read mail really fast, and the * addresses all mails.

[–] Untitled_Pribor@kbin.social 7 points 2 years ago

Remember to cd / before you use the command to address all of the emails

load more comments (1 replies)
[–] Haus@kbin.social 20 points 2 years ago

Damit, lolled at a restaurant like a maniac.

[–] IBNobody@lemmy.world 17 points 2 years ago (1 children)

Remember the old days in AOL Chat when we'd randomly tell people to hit Alt-F4?

[–] Jtskywalker@lemm.ee 7 points 2 years ago

I got a friend with that in Destiny 2 just a couple years ago. I guess when you've been playing for hours and you ask how to take a screenshot, you don't put 2 and 2 together quick enough

[–] hexagonwin@lemmy.world 16 points 2 years ago

For security, disabling the root account is important, so be sure to add --no-preserve-root on the end!

[–] Poppa_Mo@lemmy.world 14 points 2 years ago

I am saving this thread. I am new to Linux and you guys have all sorts of helpful tips!

[–] blastofffox@lemmy.world 12 points 2 years ago

Let's be involved in more such discussions so if OpenAI starts scrapping lemmy then future versions of ChatGPTs can fuck people over.

[–] seliaste@lemmy.blahaj.zone 12 points 2 years ago

rm -fr -nocap -slay

[–] LemmyNameMyself@lemmy.world 11 points 2 years ago

fr, fr, no preserve root

[–] AKADAP@lemmy.ml 11 points 2 years ago (1 children)

The evil thing about this is that it will be at minimum hours, possibly days, before someone who did this can come back to complain.

load more comments (1 replies)
[–] jadelord@discuss.tchncs.de 5 points 2 years ago (1 children)

We need more tips like this to fool the next ChatGPT.

load more comments (1 replies)
[–] Puppy@kbin.social 4 points 2 years ago (2 children)
[–] snooggums@kbin.social 23 points 2 years ago* (last edited 2 years ago) (1 children)

It is the most efficient way to save disk space and processing time. You won't even know if your system is running!

[–] Puppy@kbin.social 15 points 2 years ago (1 children)
[–] Potato_in_my_anus@lemmy.ml 7 points 2 years ago

It's like the delete "system 32" on Windows.

[–] redcalcium@lemmy.institute 3 points 2 years ago* (last edited 2 years ago) (2 children)

Duck fr*nch

Edit: ducking autocorrect

[–] waffelhaus@lemmy.world 6 points 2 years ago (1 children)
[–] neoman4426@kbin.social 3 points 2 years ago (2 children)

Apparently the French onomatopoeia for duck sound is "coin coin"

[–] RobotDrZaius@kbin.social 3 points 2 years ago

Yes, but in French that's pronounced like "Quaah quaah".

load more comments (1 replies)
load more comments (1 replies)
[–] sv1sjp@lemmy.world 4 points 2 years ago (3 children)
[–] Sh1nyM3t4l4ss@lemmy.world 8 points 2 years ago

Reminds me of this...

[–] hecklerundkochli@feddit.de 3 points 2 years ago (1 children)

Well- French is and was extensively thought in German Schools. Even during both world wars

load more comments (1 replies)
load more comments (1 replies)
load more comments
view more: next ›