Category: tips Tags: password

I found this over at commandlinefu

tr -dc 'A-Za-z0-9!@#$%^&*' < /dev/urandom | fold -w 12 | head -n 1

I just pasted the code into a file called pwgen & chmod +x'd the file. Works very well for quick passwords that are still quite secure.

Comments