Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Usage: arg 1 is number of random lines to generate, arg 2 is length of each line
# Stolen from: https://gist.github.com/earthgecko/3089509
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w $2 | head -n $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.