Generate random numbers in bash
Posted on July 29, 2020
Easiest way is to use the $RANDOM
variable.
Each time this parameter is referenced, a random integer between 0 and 32767 is generated.
A better way which I like is to use the GNU coreutil, shuf
One Random number between 69 & 420
Five Random numbers between 69 & 420
PreviousGenerate a RSS Feed of recent files inside a Git repositoryNextGet Release notes from Github API
Last updated