Skip to content

Instantly share code, notes, and snippets.

@jbloetz
Created August 4, 2012 13:35
Show Gist options
  • Save jbloetz/3257801 to your computer and use it in GitHub Desktop.
Save jbloetz/3257801 to your computer and use it in GitHub Desktop.
strong password generator script
#!/bin/bash
export LC_ALL=C
cat /dev/urandom | tr -cd [:graph:] | head -c ${1:-16}
echo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment