Skip to content

Instantly share code, notes, and snippets.

@lyoshenka
Forked from linuxboytoo/passwordgen.sh
Last active May 17, 2016 13:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save lyoshenka/b9cd27d814edd20cc2f9 to your computer and use it in GitHub Desktop.
Save lyoshenka/b9cd27d814edd20cc2f9 to your computer and use it in GitHub Desktop.
Bash Random Password Generator
#!/bin/bash
head -n100 /dev/urandom | strings | egrep -o '([a-zA-Z0-9#%&^])' | awk '{ORS=""; print $1}' | head -c 35; echo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment