Skip to content

Instantly share code, notes, and snippets.

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:
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