Skip to content

Instantly share code, notes, and snippets.

@NoMan2000
Created September 28, 2014 21:03
Show Gist options
  • Save NoMan2000/4a6197f40329564c6b98 to your computer and use it in GitHub Desktop.
Save NoMan2000/4a6197f40329564c6b98 to your computer and use it in GitHub Desktop.
Random bash aliasing
alias random='echo "$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c12 | xargs echo)"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment