passwort generieren (Mac OS X) passwort generieren (Mac OS X) 1 2 3 4 genpw() { GENPW=$(env LC_CTYPE=C tr -dc "a-zA-Z0-9" < /dev/urandom | head -c 6) echo $GENPW; } 2016 Mai 08 bash