Using urandom to Generate Password

Frequently, I’ll use password generator websites to create some pseudo-random string of characters for system accounts, database replication,etc. But sometimes the Internet isn’t readily available … and you can create a decent password right from the Linux command line using urandom.

If you want pretty much any “normal” character, use tr to pull out all of the other characters:

'\11\12\40-\176'

Or remove anything outside of upper case, lower case, and number characters using

a-zA-Z0-9

Pass the output to head to grab however many characters you actually want. Voila — a quick password.

New hatchling count

Started with 19 chicken eggs in the incubator — two didn’t develop and were removed. Three eggs haven’t hatched (three of those have pipped, but haven’t really gotten anywhere since). One little guy is really weak and still in the incubator so the other little ones don’t sit and lay on him. That means we’ve got a thirteen little chickens in the brooder. And, early next week, the ducks should start hatching.