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-2012 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.
21 <refentry id="man.genrandom">
23 <date>Feb 19, 2009</date>
27 <refentrytitle><application>genrandom</application></refentrytitle>
28 <manvolnum>8</manvolnum>
29 <refmiscinfo>BIND9</refmiscinfo>
33 <refname><application>genrandom</application></refname>
34 <refpurpose>generate a file containing random data</refpurpose>
43 <holder>Internet Systems Consortium, Inc. ("ISC")</holder>
49 <command>genrandom</command>
50 <arg><option>-n <replaceable class="parameter">number</replaceable></option></arg>
51 <arg choice="req"><replaceable class="parameter">size</replaceable></arg>
52 <arg choice="req"><replaceable class="parameter">filename</replaceable></arg>
57 <title>DESCRIPTION</title>
59 <command>genrandom</command>
60 generates a file or a set of files containing a specified quantity
61 of pseudo-random data, which can be used as a source of entropy for
62 other commands on systems with no random device.
67 <title>ARGUMENTS</title>
70 <term>-n <replaceable class="parameter">number</replaceable></term>
73 In place of generating one file, generates <option>number</option>
74 (from 2 to 9) files, appending <option>number</option> to the name.
83 The size of the file, in kilobytes, to generate.
92 The file name into which random data should be written.
100 <title>SEE ALSO</title>
103 <refentrytitle>rand</refentrytitle><manvolnum>3</manvolnum>
106 <refentrytitle>arc4random</refentrytitle><manvolnum>3</manvolnum>
112 <title>AUTHOR</title>
113 <para><corpauthor>Internet Systems Consortium</corpauthor>