random, initstate, setstate, srandom, srandom_deterministic, srandomdev(3) | pseudo-random number generator; routines for changing generators |

random(6) | random lines from a file or random numbers |

random, urandom(4) | random data source device |

RANDOM(6) | Games Manual | RANDOM(6) |

`random`

— random
lines from a file or random numbers

`random` |
[`-er` ] [denominator] |

`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:

May 31, 2007 | OpenBSD-current |