arch detail

arch detail

Friday, March 20, 2009

/dev/random and /dev/urandom

This is likely common knowledge, but I hadn't possessed it before. I'd always wondered why sometimes something like
cat /dev/random > randomStuff

would be so oddly-behaved.

It's because /dev/random will block until there is sufficient data floating around in the system (keystrokes, network packets) for the OS to come up with something sufficiently random. /dev/urandom just degrades your random-ness in order to stay speedy. Cool.

Tuesday, March 03, 2009

/bin/false

Consult
man false
someday.

FALSE(1)                         User Commands                        FALSE(1)







NAME

false - do nothing, unsuccessfully



... that is all.