644
Rule for Beginners (lemmy.world)
submitted 7 months ago* (last edited 7 months ago) by ThisIsAManWhoKnowsHowToGling@lemmy.dbzer0.com to c/196@lemmy.blahaj.zone

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
[-] rhebucks-zh@incremental.social 7 points 7 months ago

Imagine the typo sudo rm -rf /

[-] Wilzax@lemmy.world 10 points 7 months ago* (last edited 7 months ago)

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

[-] NikkiDimes@lemmy.world 3 points 7 months ago
[-] RoosterBoy@lemm.ee 1 points 7 months ago

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

[-] NikkiDimes@lemmy.world 2 points 7 months ago* (last edited 7 months ago)

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

[-] survivalmachine@beehaw.org 1 points 7 months ago

What do you think this means?

[-] rhebucks-zh@incremental.social 1 points 7 months ago
[-] survivalmachine@beehaw.org 2 points 7 months ago

I just don't understand where a typo comes into play. OP achieves the same result.

this post was submitted on 16 Feb 2024
644 points (99.8% liked)

196

16243 readers
2226 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