Created
April 26, 2011 00:04
-
-
Save ilikepi/941515 to your computer and use it in GitHub Desktop.
can haz random line?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# output a random line of /etc/hosts via the most ugly means possible | |
sed -n $(perl -e 'printf "%s", int(rand(int(`wc -l /etc/hosts`)))+1;')p /etc/hosts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment