CommitStrip | website

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”;

  • mushroommunk@lemmy.today
    link
    fedilink
    arrow-up
    50
    ·
    22 hours ago

    It’s a bash command that generates a random number. If that number divides by six with no remainder then it deletes everything on the server, if not it prints “lucky boy”. “Prod” servers are production servers, the ones the actual business runs on, as opposed to test or dev servers which are often deleted and rebuilt as developers to see if things work or not.

    This is Russian roulette for IT people to see if they destroy the running server or not

    • SatyrSack@quokk.au
      link
      fedilink
      English
      arrow-up
      25
      ·
      edit-2
      14 hours ago

      generates a random number. If that number divides by six with no remainder

      Meaning a 1 in 6 chance, just like playing traditional Russian roulette with a revolver

      EDIT: For fun, here is a Russian roulette bash script that doesn’t actually do anything other than simply print pass or fail with a 1 in 6 chance:

      [ $[ $RANDOM % 6 ] == 0 ] && echo fail || echo pass;