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

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] tequinhu@lemmy.world 84 points 1 week ago (3 children)

I did this once (for real, but without AI assistance)

[โ€“] pcouy@lemmy.pierre-couy.fr 41 points 1 week ago (2 children)

Reminds me of the time when I bind mounted my home dir in a chroot, then rm -rfed the chroot when I no longer needed it...

[โ€“] palordrolap@fedia.io 31 points 1 week ago

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.

[โ€“] Redjard@lemmy.dbzer0.com 13 points 6 days ago

Wanted to reorganize my /mnt once and did an rm -r ... without unmounting the network share of production.
We have backups now.

[โ€“] Hazzard@lemm.ee 11 points 6 days ago (1 children)

Same, I didn't realize the directory I was deleting had a symlink to some root directory, at least until my mouse stopped working....

[โ€“] mmddmm@lemm.ee 9 points 6 days ago* (last edited 6 days ago)

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.

[โ€“] sobriquet@aussie.zone 1 points 5 days ago

I fairly recently tried to do a rm match* but accidentally put a space between the match and the *โ€ฆ