Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Generate 20 random passwords (See related posts)

< /dev/urandom tr -cd '[:print:]' | fold -w 15 | head -n 20

Comments on this post

rmm5t posts on Oct 09, 2006 at 21:16
This came in quite handy for a recent script I needed to write. Thanks.

You need to create an account or log in to post comments to this site.


Click here to browse all 4861 code snippets

Related Posts