Generate a file containing random data
genrandom [-n number] {size} {filename}
genrandom generates a file or a set of files containing a specified quantity of pseudo-random data, which can be used as a source of entropy for other commands on systems with no random device.
-n number
In place of generating one file, generates number (from 2 to 9) files, appending number to the name.
size
The size of the file, in kilobytes, to generate.
filename
The file name into which random data should be written.
rand(3), arc4random(3)
Internet Systems Consortium
Copyright © 2009-2011 Internet Systems Consortium, Inc. ("ISC")