this post was submitted on 31 May 2025
926 points (99.0% liked)
Programmer Humor
23855 readers
2427 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I did this once (for real, but without AI assistance)
Reminds me of the time when I bind mounted my home dir in a chroot, then
rm -rf
ed the chroot when I no longer needed it...Reminds me of the company where one of the top brass tried to unmount an important fileshare with rm. That was the day they found out that they didn't have recent backups of a, shall we say disquieting, amount of important information and people's work.
Staff started taking their own private backups of important things after that.
Wanted to reorganize my /mnt once and did an rm -r ... without unmounting the network share of production.
We have backups now.
Same, I didn't realize the directory I was deleting had a symlink to some root directory, at least until my mouse stopped working....
Gnome used to have a link to your homedir in its settings directory.
I imagine plenty of people had tons of fun with that. But you need to modify
rm
to follow symlinks nowadays.I fairly recently tried to do a
rm match*
but accidentally put a space between thematch
and the*
โฆ