2 - Copyright (C) 2009-2011, 2014 Internet Systems Consortium, Inc. ("ISC")
4 - Permission to use, copy, modify, and/or distribute this software for any
5 - purpose with or without fee is hereby granted, provided that the above
6 - copyright notice and this permission notice appear in all copies.
8 - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9 - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10 - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11 - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12 - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13 - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14 - PERFORMANCE OF THIS SOFTWARE.
19 <meta http-equiv=
"Content-Type" content=
"text/html; charset=ISO-8859-1">
20 <title>genrandom
</title>
21 <meta name=
"generator" content=
"DocBook XSL Stylesheets V1.71.1">
23 <body bgcolor=
"white" text=
"black" link=
"#0000FF" vlink=
"#840084" alink=
"#0000FF"><div class=
"refentry" lang=
"en">
24 <a name=
"man.genrandom"></a><div class=
"titlepage"></div>
25 <div class=
"refnamediv">
27 <p><span class=
"application">genrandom
</span> — generate a file containing random data
</p>
29 <div class=
"refsynopsisdiv">
31 <div class=
"cmdsynopsis"><p><code class=
"command">genrandom
</code> [
<code class=
"option">-n
<em class=
"replaceable"><code>number
</code></em></code>] {
<em class=
"replaceable"><code>size
</code></em>} {
<em class=
"replaceable"><code>filename
</code></em>}
</p></div>
33 <div class=
"refsect1" lang=
"en">
34 <a name=
"id2543378"></a><h2>DESCRIPTION
</h2>
36 <span><strong class=
"command">genrandom
</strong></span>
37 generates a file or a set of files containing a specified quantity
38 of pseudo-random data, which can be used as a source of entropy for
39 other commands on systems with no random device.
42 <div class=
"refsect1" lang=
"en">
43 <a name=
"id2543390"></a><h2>ARGUMENTS
</h2>
44 <div class=
"variablelist"><dl>
45 <dt><span class=
"term">-n
<em class=
"replaceable"><code>number
</code></em></span></dt>
47 In place of generating one file, generates
<code class=
"option">number
</code>
48 (from
2 to
9) files, appending
<code class=
"option">number
</code> to the name.
50 <dt><span class=
"term">size
</span></dt>
52 The size of the file, in kilobytes, to generate.
54 <dt><span class=
"term">filename
</span></dt>
56 The file name into which random data should be written.
60 <div class=
"refsect1" lang=
"en">
61 <a name=
"id2543451"></a><h2>SEE ALSO
</h2>
63 <span class=
"citerefentry"><span class=
"refentrytitle">rand
</span>(
3)
</span>,
64 <span class=
"citerefentry"><span class=
"refentrytitle">arc4random
</span>(
3)
</span>
67 <div class=
"refsect1" lang=
"en">
68 <a name=
"id2543478"></a><h2>AUTHOR
</h2>
69 <p><span class=
"corpauthor">Internet Systems Consortium
</span>