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