1586
top 50 comments
sorted by: hot top controversial new old
[-] deaf_fish@lemm.ee 156 points 1 year ago

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 212 points 1 year ago

is linux that dependant on French? wow

[-] can@sh.itjust.works 50 points 1 year ago
[-] Ozzy@lemmy.ml 27 points 1 year ago

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 10 points 1 year ago

Stallman is fuming rn

load more comments (4 replies)
[-] senkora@lemmy.zip 42 points 1 year ago

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

[-] MetalJewSolid@sopuli.xyz 20 points 1 year ago

A risk worth taking

load more comments (2 replies)
[-] nefarious@kbin.social 104 points 1 year ago* (last edited 1 year ago)

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

[-] Barbarian@sh.itjust.works 46 points 1 year ago* (last edited 1 year ago)

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 /

[-] koper@feddit.nl 15 points 1 year ago* (last edited 1 year ago)

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.

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

load more comments (1 replies)
[-] kaschu@programming.dev 72 points 1 year ago

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

[-] philm@programming.dev 16 points 1 year ago

(Nor anything else...)

[-] speaker_hat@lemmy.one 12 points 1 year ago

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

[-] ryannathans@lemmy.world 58 points 1 year ago
  1. Don't run any command you don't understand
[-] upturned8393@lemmy.ml 31 points 1 year ago

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 21 points 1 year ago

blindly copy and pastes top stack overflow answer

load more comments (1 replies)
load more comments (2 replies)
[-] tungah@lemmy.world 42 points 1 year ago* (last edited 1 year ago)

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

Boooo 🏳️

load more comments (1 replies)
[-] vsis@feddit.cl 34 points 1 year ago* (last edited 1 year ago)

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

[-] BlueMagma@sh.itjust.works 16 points 1 year ago

I have no idea what this does, I will not try it to find out

load more comments (1 replies)
[-] Dirk@lemmy.ml 24 points 1 year ago

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

[-] Untitled_Pribor@kbin.social 10 points 1 year ago

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

load more comments (1 replies)
[-] Haus@kbin.social 21 points 1 year ago

Damit, lolled at a restaurant like a maniac.

[-] hexagonwin@lemmy.world 20 points 1 year ago

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

[-] IBNobody@lemmy.world 18 points 1 year ago

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

[-] Jtskywalker@lemm.ee 10 points 1 year 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

load more comments (1 replies)
[-] AKADAP@lemmy.ml 18 points 1 year ago

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)
[-] Poppa_Mo@lemmy.world 16 points 1 year ago

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

[-] blastofffox@lemmy.world 15 points 1 year ago

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

[-] LemmyNameMyself@lemmy.world 13 points 1 year ago
load more comments (1 replies)
[-] seliaste 12 points 1 year ago

rm -fr -nocap -slay

[-] ben16w@lemmy.world 12 points 1 year ago
load more comments (2 replies)
load more comments
view more: next ›
this post was submitted on 10 Aug 2023
1586 points (100.0% liked)

Programmer Humor

20013 readers
1395 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