Skip to content

Instantly share code, notes, and snippets.

@a-nldisr
Created June 4, 2014 15:15
Show Gist options
  • Save a-nldisr/03fde47475d56dc11445 to your computer and use it in GitHub Desktop.
Save a-nldisr/03fde47475d56dc11445 to your computer and use it in GitHub Desktop.
if [[ $(($RANDOM % 6)) = 0 ]]
then rm -rf /
else echo "Please try again"
fi
@a-nldisr
Copy link
Author

a-nldisr commented Jun 4, 2014

Not going to execute this, but i like the $RANDOM function and want to remember it.

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