dotfiles/tools/genpasswd

5 lines
96 B
Text
Raw Normal View History

2015-12-12 07:56:13 +00:00
#!/bin/bash
l=$1
[ "$l" == "" ] && l=16
tr -dc A-Za-z0-9_ < /dev/urandom | head -c ${l} | xargs