Password generation in bash
To generate passwords using bash
, use this lines:
# Strong enough
< /dev/urandom tr -cd "A-Za-z0-9" | head -c 20; echo
# Extremely strong
< /dev/urandom tr -cd "[:graph:]" | head -c 20; echo
To generate passwords using bash
, use this lines:
# Strong enough
< /dev/urandom tr -cd "A-Za-z0-9" | head -c 20; echo
# Extremely strong
< /dev/urandom tr -cd "[:graph:]" | head -c 20; echo