this post was submitted on 07 Jul 2026
267 points (99.3% liked)

Programmer Humor

32470 readers
423 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 3 years ago
MODERATORS
 

Crossposted from https://lemmy.world/post/49163864

CommitStrip | website

Transcript7 panel comic

1: [2 guys, both in fur lined coats, one wearing a fur-lined hat, the other with crazy hair, sit in circular booth in a rundown bar. 2 empty shot glasses and a bottle are visible on the table.]

Hat: Stop it, you’re crazy! This isn’t you talking, it’s the vodka!

Hair: Leave it…

2: [The two men are sitting across from a third man in a similar fur-line coat and hat, but glasses and a beard. A laptop sits in front of the bearded man.]

Beard: It’s not a game for cowards…

3: [Hair pulls the laptop towards him. Hat looks worried]

Hair: Come on, gimme that and let’s get it over with!

4: [Hair has a crazy and excited look on his face]

Hair: Each one on his own prod server?

Beard: Each one on his own prod server.

5: [Close up of Hats finger clicking the touch pad]

6: [Close up of the sweat dripping down Hats face]

7: [A terminal is open on the laptop screen] Laptop reads: root@server:~# [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “Lucky boy”;

all 15 comments
sorted by: hot top controversial new old
[–] DarkCloud@lemmy.world 26 points 2 weeks ago

There's a chance you'll end up with a more efficient system!

[–] neidu3@sh.itjust.works 24 points 2 weeks ago (2 children)

This is actually safe to run, as --no-preserve-root is missing

[–] ranzispa@mander.xyz 5 points 2 weeks ago (2 children)

Doubt deleting everything but root is safe on a production server.

[–] neidu3@sh.itjust.works 12 points 2 weeks ago (1 children)

It won't delete anything at all

[–] ranzispa@mander.xyz 3 points 2 weeks ago (2 children)

Oh, checked the manual. Cool, did not know that.

I guess then it should be rm -rf /srv/

[–] neidu3@sh.itjust.works 12 points 2 weeks ago

That'd probably rattle some managers' cages, yes.

Alternatively, a combination of find /, rand, xarg, and rm could also be fun; delete something randome, and pray it was just a readme file

[–] sun_is_ra@sh.itjust.works 7 points 2 weeks ago

rm -rf /* should work just fine

[–] ramasses@social.ozymandias.club 2 points 2 weeks ago

Only deleting .ssh for the fuck of it

[–] nitroemdash@lemmy.wtf 3 points 2 weeks ago

Not required on BusyBox-based systems, a.k.a. Alpine.

[–] RonSijm@programming.dev 17 points 2 weeks ago

More accurate nowadays:

"Hey Claude my prod server is slow. Here are the credentials. Fix pls /yolo"

[–] ranzispa@mander.xyz 5 points 2 weeks ago

When you get laid off, celebrate playing this game. Ensure to practice a few hundred times in order to make sure you win.

[–] nitroemdash@lemmy.wtf 3 points 2 weeks ago (1 children)

As $RANDOM returns 0 to 32767, chance of the command running is not 1 to 5, but 1 to 5.00018311665.

[–] bitjunkie@lemmy.world 2 points 2 weeks ago

This isn't funny but it did make me add a line to my .bash_aliases