Get a random number from command line

On mac or bsd, we can use jot.

1
jot -r 1 0 10000

or

1
jot -r 1 0 0x7fffffffffffffffL

On linux need to install the package athena-jot:

1
sudo apt-get install athena-jot

Leave a Comment