debian man page for random

Query: random

OS: debian

Section: 6

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

RANDOM(6)							 BSD Games Manual							 RANDOM(6)

NAME
random -- random lines from a file or random numbers
SYNOPSIS
random [-er] [denominator]
DESCRIPTION
random reads lines from the standard input and copies them to the standard output with a probability of 1/denominator. The default value for denominator is 2. The options are as follows: -e If the -e option is specified, random does not read or write anything, and simply exits with a random exit value of 0 to denominator-1, inclusive. -r The -r option guarantees that the output is unbuffered.
SEE ALSO
fortune(6)
BSD
March 31, 1994 BSD
Related Man Pages
urandom(4) - mojave
srandom(3) - redhat
arc4random(9) - debian
urandom(4) - opendarwin
urandom(4) - osx
Similar Topics in the Unix Linux Community
Retrieving random numbers out of a text file
$RANDOM does not work inside a shell script
copying random Jpg files to different folder
Generate random numbers in script
UNIX script for making random numbers without repetition