A simple terminal / bash password generator

n=$RANDOM; r=$((n%20+10)); pw=$(head -c$r /dev/urandom | base64); echo $pw