2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00
Files
bind/bin/tools/genrandom.html

68 lines
2.9 KiB
HTML
Raw Normal View History

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