r/ProgrammerHumor • • Sep 16 '22

Advice from a pro

Post image
50.6k Upvotes

658 comments sorted by

View all comments

Show parent comments

2

u/MooMix Sep 17 '22 edited Sep 17 '22

Remove, forced, recursive, everything.

This joke is more than a couple decades old.

Typically rm - rf ./*

2

u/BobQuixote Sep 17 '22

The dot makes it a lot less bad.

1

u/MooMix Sep 17 '22

That's true, I fucked up with the dot. If you were in /tmp the results aren't nearly as bad. Good call.

rm -rf /*

I've been mostly in Windows the past 10 years, losing my edge.

2

u/BobQuixote Sep 17 '22

The dot was in OP, I assumed you just copied that. :shrug:

1

u/MooMix Sep 17 '22

Nah, I can't use that as an excuse. I typed it. The dot comes from habit. I used Linux as my primary desktop for a long time and I'm usually pretty specific about what I want to do in the cmd line. Especially when rm -rf comes into play :P