Browse - computer tips - random passwordDate: 2000may29 Q. How can I generate a random password? A. This chain of Linux commands does the trick: head -c8 /dev/random | uuencode -m - | sed -n '2s/=*$//;2p' From http://www.linuxplanet.com/linuxplanet/tips/1141/1/ Add a commentSign in to add a comment |