genrandom.html revision 33d0a7767d53cb366039fd0ac4f63cf8a9c351b0
153N/A<!--
153N/A - Copyright (C) 2009-2011, 2014-2016 Internet Systems Consortium, Inc. ("ISC")
1425N/A -
153N/A - Permission to use, copy, modify, and/or distribute this software for any
1425N/A - purpose with or without fee is hereby granted, provided that the above
153N/A - copyright notice and this permission notice appear in all copies.
153N/A -
919N/A - THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
919N/A - REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
919N/A - AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
919N/A - INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
919N/A - LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
919N/A - OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
919N/A - PERFORMANCE OF THIS SOFTWARE.
919N/A-->
919N/A<html>
919N/A<head>
919N/A<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
919N/A<title>genrandom</title>
919N/A<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
919N/A</head>
919N/A<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry">
919N/A<a name="man.genrandom"></a><div class="titlepage"></div>
919N/A<div class="refnamediv">
153N/A<h2>Name</h2>
153N/A<p><span class="application">genrandom</span> &#8212; generate a file containing random data</p>
153N/A</div>
153N/A<div class="refsynopsisdiv">
493N/A<h2>Synopsis</h2>
153N/A<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>
153N/A</div>
1366N/A<div class="refsection">
153N/A<a name="id-1.7"></a><h2>DESCRIPTION</h2>
911N/A<p>
1366N/A <span class="command"><strong>genrandom</strong></span>
1366N/A generates a file or a set of files containing a specified quantity
911N/A of pseudo-random data, which can be used as a source of entropy for
153N/A other commands on systems with no random device.
153N/A </p>
153N/A</div>
153N/A<div class="refsection">
153N/A<a name="id-1.8"></a><h2>ARGUMENTS</h2>
153N/A<div class="variablelist"><dl class="variablelist">
970N/A<dt><span class="term">-n <em class="replaceable"><code>number</code></em></span></dt>
970N/A<dd><p>
970N/A In place of generating one file, generates <code class="option">number</code>
970N/A (from 2 to 9) files, appending <code class="option">number</code> to the name.
970N/A </p></dd>
970N/A<dt><span class="term">size</span></dt>
153N/A<dd><p>
153N/A The size of the file, in kilobytes, to generate.
493N/A </p></dd>
969N/A<dt><span class="term">filename</span></dt>
153N/A<dd><p>
153N/A The file name into which random data should be written.
153N/A </p></dd>
153N/A</dl></div>
153N/A</div>
493N/A<div class="refsection">
153N/A<a name="id-1.9"></a><h2>SEE ALSO</h2>
1196N/A<p>
1196N/A <span class="citerefentry"><span class="refentrytitle">rand</span>(3)</span>,
1196N/A <span class="citerefentry"><span class="refentrytitle">arc4random</span>(3)</span>
1425N/A </p>
1196N/A</div>
970N/A</div></body>
970N/A</html>
970N/A