Linux Rules

SmoochyPit@beehaw.org to 196@lemmy.blahaj.zone – 358 points –
43

You are viewing a single comment

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

Try it and find out.

::: spoiler spoiler Don't try it and find out, they work the same :::

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

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?

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.

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