dotfiles/tools/genpasswd
2016-09-18 14:58:16 +02:00

5 lines
96 B
Bash
Executable file

#!/bin/bash
l=$1
[ "$l" == "" ] && l=32
tr -dc A-Za-z0-9_ < /dev/urandom | head -c ${l} | xargs