971
Oh no! 🤦‍♂️ (sh.itjust.works)
you are viewing a single comment's thread
view the rest of the comments
[-] floquant@lemmy.dbzer0.com 29 points 4 weeks ago

I don't understand the eagerness of most people to go nuclear by adding potentially dangerous arguments when not required.

Use rmdir to remove a directory you expect to be empty, not rm -rf

[-] zarkanian@sh.itjust.works 1 points 3 weeks ago

It's because they know how to use rm -rf, and they don't know how to use rmdir. Honestly, I can't think of a single time I've ever successfully removed a directory with rmdir. I always wind up using something else.

this post was submitted on 31 May 2025
971 points (99.1% liked)

Programmer Humor

24517 readers
2159 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