Russian roulette [CommitStrip]

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

CommitStrip | website

::: spoiler Transcript 7 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”; :::

323 points · 13 comments · view on lemmy.world

13 Comments

DarkCloud@lemmy.world · 31 pts · 53d

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

neidu3@sh.itjust.works · 30 pts · 53d (7 replies)

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

ranzispa@mander.xyz · 8 pts · 53d (5 replies)

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

neidu3@sh.itjust.works · 15 pts · 53d (3 replies)

It won't delete anything at all

ranzispa@mander.xyz · 4 pts · 53d (2 replies)

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

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

neidu3@sh.itjust.works · 16 pts · 53d

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

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

sun_is_ra@sh.itjust.works · 9 pts · 53d

rm -rf /* should work just fine

ramasses@social.ozymandias.club · 2 pts · 52d

Only deleting .ssh for the fuck of it

nitroemdash@lemmy.wtf · 8 pts · 52d

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

RonSijm@programming.dev · 26 pts · 53d

More accurate nowadays:

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

nitroemdash@lemmy.wtf · 8 pts · 52d (1 reply)

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

YellowTraveller@lemmy.zip · -1 pts · 52d
[ removed ]
dsrn@programming.dev · 5 pts · 53d
[ removed ]
ranzispa@mander.xyz · 5 pts · 53d

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

bitjunkie@lemmy.world · 4 pts · 52d

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