genrandom.html revision 7911e6f9de303bca5a3d8b34f4330c8f7cecffae
95ed3294c632f5606327149f10cef1eb34422862Thomas Hindoe Paaboel Andersen<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
95ed3294c632f5606327149f10cef1eb34422862Thomas Hindoe Paaboel Andersen - Copyright (C) 2009-2011, 2014-2016 Internet Systems Consortium, Inc. ("ISC")
95ed3294c632f5606327149f10cef1eb34422862Thomas Hindoe Paaboel Andersen - This Source Code Form is subject to the terms of the Mozilla Public
95ed3294c632f5606327149f10cef1eb34422862Thomas Hindoe Paaboel Andersen - License, v. 2.0. If a copy of the MPL was not distributed with this
95ed3294c632f5606327149f10cef1eb34422862Thomas Hindoe Paaboel Andersen - file, You can obtain one at http://mozilla.org/MPL/2.0/.
95ed3294c632f5606327149f10cef1eb34422862Thomas Hindoe Paaboel Andersen<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
95ed3294c632f5606327149f10cef1eb34422862Thomas Hindoe Paaboel Andersen<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
95ed3294c632f5606327149f10cef1eb34422862Thomas Hindoe Paaboel Andersen<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry">
95ed3294c632f5606327149f10cef1eb34422862Thomas Hindoe Paaboel Andersen<a name="man.genrandom"></a><div class="titlepage"></div>
95ed3294c632f5606327149f10cef1eb34422862Thomas Hindoe Paaboel Andersen <span class="application">genrandom</span>
b5efdb8af40ea759a1ea584c1bc44ecc81dd00ceLennart Poettering — generate a file containing random data
95ed3294c632f5606327149f10cef1eb34422862Thomas Hindoe Paaboel Andersen <code class="command">genrandom</code>
07630cea1f3a845c09309f197ac7c4f11edd3b62Lennart Poettering [<code class="option">-n <em class="replaceable"><code>number</code></em></code>]
f2341e0a87cab1558c84c933956e9181d5fb6c52Lennart Poettering {<em class="replaceable"><code>size</code></em>}
07630cea1f3a845c09309f197ac7c4f11edd3b62Lennart Poettering {<em class="replaceable"><code>filename</code></em>}
95ed3294c632f5606327149f10cef1eb34422862Thomas Hindoe Paaboel Andersen <span class="command"><strong>genrandom</strong></span>
95ed3294c632f5606327149f10cef1eb34422862Thomas Hindoe Paaboel Andersen generates a file or a set of files containing a specified quantity
95ed3294c632f5606327149f10cef1eb34422862Thomas Hindoe Paaboel Andersen of pseudo-random data, which can be used as a source of entropy for
95ed3294c632f5606327149f10cef1eb34422862Thomas Hindoe Paaboel Andersen other commands on systems with no random device.
95ed3294c632f5606327149f10cef1eb34422862Thomas Hindoe Paaboel Andersen<a name="id-1.8"></a><h2>ARGUMENTS</h2>
d5d8429a12c4b1ef0dcd226c0904f00f4fa4898aLennart Poettering <div class="variablelist"><dl class="variablelist">
d5d8429a12c4b1ef0dcd226c0904f00f4fa4898aLennart Poettering<dt><span class="term">-n <em class="replaceable"><code>number</code></em></span></dt>
d5d8429a12c4b1ef0dcd226c0904f00f4fa4898aLennart Poettering In place of generating one file, generates <code class="option">number</code>
95ed3294c632f5606327149f10cef1eb34422862Thomas Hindoe Paaboel Andersen (from 2 to 9) files, appending <code class="option">number</code> to the name.
95ed3294c632f5606327149f10cef1eb34422862Thomas Hindoe Paaboel Andersen<dt><span class="term">size</span></dt>
95ed3294c632f5606327149f10cef1eb34422862Thomas Hindoe Paaboel Andersen The size of the file, in kilobytes, to generate.
95ed3294c632f5606327149f10cef1eb34422862Thomas Hindoe Paaboel Andersen<dt><span class="term">filename</span></dt>
8fba1c8d4e3d05d2af2848b6570bdc09e725d06eZbigniew Jędrzejewski-Szmek The file name into which random data should be written.
95ed3294c632f5606327149f10cef1eb34422862Thomas Hindoe Paaboel Andersen<a name="id-1.9"></a><h2>SEE ALSO</h2>
260ad50f5b4a9795032e3119c64f838a2d03370dThomas Hindoe Paaboel Andersen <span class="refentrytitle">rand</span>(3)
95ed3294c632f5606327149f10cef1eb34422862Thomas Hindoe Paaboel Andersen <span class="refentrytitle">arc4random</span>(3)