1 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
2 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
3 [<!ENTITY mdash "—">]>
5 - Copyright (C) 2009-2011, 2014 Internet Systems Consortium, Inc. ("ISC")
7 - Permission to use, copy, modify, and/or distribute this software for any
8 - purpose with or without fee is hereby granted, provided that the above
9 - copyright notice and this permission notice appear in all copies.
11 - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
12 - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
13 - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
14 - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15 - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
16 - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17 - PERFORMANCE OF THIS SOFTWARE.
20 <refentry id="man.genrandom">
22 <date>August 08, 2011</date>
26 <refentrytitle><application>genrandom</application></refentrytitle>
27 <manvolnum>8</manvolnum>
28 <refmiscinfo>BIND9</refmiscinfo>
32 <refname><application>genrandom</application></refname>
33 <refpurpose>generate a file containing random data</refpurpose>
42 <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
48 <command>genrandom</command>
49 <arg><option>-n <replaceable class="parameter">number</replaceable></option></arg>
50 <arg choice="req"><replaceable class="parameter">size</replaceable></arg>
51 <arg choice="req"><replaceable class="parameter">filename</replaceable></arg>
56 <title>DESCRIPTION</title>
58 <command>genrandom</command>
59 generates a file or a set of files containing a specified quantity
60 of pseudo-random data, which can be used as a source of entropy for
61 other commands on systems with no random device.
66 <title>ARGUMENTS</title>
69 <term>-n <replaceable class="parameter">number</replaceable></term>
72 In place of generating one file, generates <option>number</option>
73 (from 2 to 9) files, appending <option>number</option> to the name.
82 The size of the file, in kilobytes, to generate.
91 The file name into which random data should be written.
99 <title>SEE ALSO</title>
102 <refentrytitle>rand</refentrytitle><manvolnum>3</manvolnum>
105 <refentrytitle>arc4random</refentrytitle><manvolnum>3</manvolnum>
111 <title>AUTHOR</title>
112 <para><corpauthor>Internet Systems Consortium</corpauthor>