Import scripts from dotfiles repository

master
nirenjan 2014-05-25 21:36:48 -07:00
parent 73e53323da
commit 46d993cdd9
1 changed files with 5 additions and 0 deletions

5
mkpasswd 100755
View File

@ -0,0 +1,5 @@
#!/bin/bash
len=$1
[[ "$len" == "" ]] && len=16
LC_CTYPE=C tr -dc "[:alnum:]" < /dev/urandom | head -c ${len} | xargs