Command line tool to generate 'true' random integers and strings via RANDOM.ORG
This tool is written in bash. Other dependencies are cURL.
Optionally copy randorg
to /usr/local/bin
for use anywhere.
Generate random strings:
$ ./randorg string --num 5 --len 10 --upper --digits
7LS4SFFUDL
OMV5V2R7K6
8G3VAIJ55M
5MLYZRIR3U
6LSPCPB78L
Roll a dice with n
sides:
$ ./randorg roll 6
4
Flip a coin:
$ ./randorg flip
Heads!
If used in conjunction with an automated task please refer to the RANDOM.ORG's API usage guidelines.
- Picking from a hat / lottery (from file..)