add random password generator

This commit is contained in:
Rico Ullmann 2016-04-24 14:56:50 +02:00
parent 2f614ca561
commit 99ee47daf6
1 changed files with 4 additions and 0 deletions

View File

@ -59,3 +59,7 @@ function nsgrep --description 'show open ports for $argv'
end
end
function randpw --description 'generate a password'
tr -dc 'a-zA-Z0-9_@#%&,;()-' < /dev/urandom | head -c32;echo;
end