generate_randfile(1) General Commands Manual generate_randfile(1)

generate_randfile - a program to generate a file of random data

generate_randfile [ -s seed] [ -f file] count

Produces a file comprised of random integers in network-byte-order from the rand(3) library call.

the seed to use to create the random numbers.
the file to create for writing the output (default is to use standard output).
the number of integers to write.


These programs were written by Russell Coker <>. May be freely used and distributed without restriction.

The source is available from .

See for further information.