this post was submitted on 15 Jan 2025
270 points (95.6% liked)

Programmer Humor

19971 readers
1023 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 88 points 8 hours ago (2 children)

thats not how rm -rf works

[–] [email protected] 47 points 6 hours ago (1 children)

Not to diminish the fact that that's not how rm works, but that's also not how anything else in his tweet works either.

[–] [email protected] 10 points 5 hours ago

I only care about the rm part

[–] [email protected] 5 points 6 hours ago* (last edited 6 hours ago) (1 children)

Yeah he needs a file or directory list after a space after the f

Traditional is /*

[–] [email protected] 3 points 5 hours ago (1 children)

Just / would work but --no-preserve-root would kick it up a notch

[–] [email protected] 1 points 4 hours ago