Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

genrandom (8)

Name

genrandom - generate a file containing random data

Synopsis

genrandom [-n number] {size} {filename}

Description

GENRANDOM(8)                         BIND9                        GENRANDOM(8)



NAME
       genrandom - generate a file containing random data

SYNOPSIS
       genrandom [-n number] {size} {filename}

DESCRIPTION
       genrandom 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.

ARGUMENTS
       -n number
           In place of generating one file, generates number (from 2 to 9)
           files, appending number to the name.

       size
           The size of the file, in kilobytes, to generate.

       filename
           The file name into which random data should be written.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | network/dns/bind |
       +---------------+------------------+
       |Stability      | Uncommitted      |
       +---------------+------------------+
SEE ALSO
       rand(3), arc4random(3)

AUTHOR
       Internet Systems Consortium, Inc.

COPYRIGHT
       Copyright (C) 2009-2011, 2014-2016, 2018, 2019 Internet Systems
       Consortium, Inc. ("ISC")



NOTES
       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       http://ftp.isc.org/isc/bind9/9.11.6/bind-9.11.6.tar.gz

       Further information about this software can be found on the open source
       community website at http://www.isc.org/software/bind/.



ISC                               2011-08-08                      GENRANDOM(8)