Created
July 26, 2014 13:38
-
-
Save kpanic/afb6861eb40d93f449e4 to your computer and use it in GitHub Desktop.
Random debian package [lazy saturday mode]
This file contains hidden or 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
INDEX=$(expr $(od -vAn -N4 -tu4 < /dev/urandom) % $(apt-cache pkgnames | tee /tmp/alldebs.txt | wc -l)) | |
DEBS=$(cat /tmp/alldebs.txt) | |
set -- $DEBS | |
apt-cache show "${!INDEX}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment