this post was submitted on 31 May 2025
921 points (99.0% liked)

Programmer Humor

24709 readers
254 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 month ago (3 children)

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

[โ€“] pcouy@lemmy.pierre-couy.fr 41 points 1 month 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 month 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 1 month 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 1 month 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 1 month ago* (last edited 1 month 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 1 month ago

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