Bash Generate random string July 2, 2023 by pje 32 chars string $(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)