PDA

View Full Version : random number/ character generator



threegremlins
February 10th, 2012, 03:54 AM
what software could i use to output a file of random numbers and characters?

Bachstelze
February 10th, 2012, 04:23 AM
Define "random". In particular, what is it for?

HansKisaragi
February 10th, 2012, 10:25 AM
http://www.random.org/ .. Not sure about software but there some random generators on that site.

Phoenixie
February 10th, 2012, 12:40 PM
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 50 | head -n 1

HermanAB
February 10th, 2012, 02:11 PM
Read either /dev/random or /dev/urandom.

$ cat /dev/random

threegremlins
February 10th, 2012, 02:49 PM
Phoenixie, that is perfect. Yes I read about random, rand and urand but I didn't understand about the options. thanks every one.