this post was submitted on 10 Sep 2023
355 points (100.0% liked)

196

16501 readers
2240 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] mustardman@discuss.tchncs.de 84 points 1 year ago (5 children)

Linux even lets you fully remove the French language!

sudo rm -fr /

[–] SmoochyPit@beehaw.org 20 points 1 year ago

Just did it, and I can confirm; the French language is no longer on my computer. Thanks c/196!

[–] Getallen@feddit.nl 8 points 1 year ago

based Switching to linux right now

[–] Smorty@lemmy.blahaj.zone 6 points 1 year ago (1 children)

Can you remove the England language too?

[–] mustardman@discuss.tchncs.de 11 points 1 year ago (1 children)

Believe it or not the, the same command will remove all languages from the system.

[–] Smorty@lemmy.blahaj.zone 9 points 1 year ago (1 children)
[–] pedro@lemm.ee 6 points 1 year ago

Moral of the story: once you remove the French, everything is lost

[–] mst@discuss.tchncs.de 2 points 1 year ago (3 children)

Isn't it rf? Or do they both work?

[–] conneru64@lemmy.blahaj.zone 13 points 1 year ago

In most commands, the order of flags doesn't matter

[–] mustardman@discuss.tchncs.de 6 points 1 year ago

Try it and find out.

spoilerDon't try it and find out, they work the same

[–] arekkusu@discuss.tchncs.de 3 points 1 year ago (1 children)

r and f are just flags, meaning recursive and force, so it doesn't matter the order

[–] mst@discuss.tchncs.de 4 points 1 year ago* (last edited 1 year ago) (1 children)

So it will remove everything in the / directory and all its subfolders without further asking.

Would it destroy or brick my device? Or just delete the OS and all my data?

[–] arekkusu@discuss.tchncs.de 4 points 1 year ago (1 children)

It shouldn't brick your PC, but it has happened as a result of computers improperly complying with UEFI spec. There are far easier and safer ways to clear a hard drive than deleting every file and folder recursively.

[–] tonarinokanasan@lemmy.sdf.org 2 points 1 year ago

The first step of which would be, don't try to clear a hard drive while you have it mounted