this post was submitted on 16 Feb 2024
610 points (97.5% liked)

196

16793 readers
1868 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 2 years ago
MODERATORS
610
Rule for Beginners (lemmy.world)
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

cross-posted from: https://lemmy.dbzer0.com/post/14479799

Linux Best Practices

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 10 months ago (2 children)

Imagine the typo sudo rm -rf /

[–] Wilzax 10 points 10 months ago* (last edited 10 months ago) (1 children)

The order of flags don't matter on the rm command, so rm -rf == rm -fr

[–] NikkiDimes 3 points 10 months ago (1 children)
[–] [email protected] 1 points 10 months ago (1 children)

Not quite, flags don't care about the order they are in.

[–] NikkiDimes 2 points 10 months ago* (last edited 10 months ago)

That's exactly why that is the joke omg lol 🤦‍♀️