Generate a random password in bash

Posted on June 23rd, 2008 in Coding, Work by abdallah

Here’s a quickie that Feliscimo sent me:

  1. < /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c8

Post a comment

You must be logged in to post a comment.