LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > Subjectively
User Name
Password

Notices


This blog points to articles written on http://kirk.webfinish.com. These articles are mainly about shell scripting, PHP, and postgresql on Ubuntu and OS/X.
Rate this Entry

simple bash password generator

Posted 11-24-2009 at 02:04 PM by roybal

Here's a quick way to create arbitrary length passwords on most any *nix flavor.

Password generator

/bithead
Posted in Uncategorized
Views 2393 Comments 1
« Prev     Main     Next »
Total Comments 1

Comments

  1. Old Comment
    a little bit offtopic but here's what i made to create a 1/0 simple generator using /dev/urandom also.
    like in Yes/No questions, im asking to this program sometimes xD
    Code:
    #!/bin/sh
    let v=0x`head -c 1 /dev/urandom | hd | awk '{print $2}'`
    echo $v/127 | bc
    Posted 11-24-2009 at 09:58 PM by Web31337 Web31337 is offline
 

  



All times are GMT -5. The time now is 05:36 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration