Random Integer in Linux. shuf Generates a Number in an Interval.
Nov 24, 2019The easiest way to do this is to use shuf. You can generate a single integer between n and m with:
where you replace {{n}} and {{m}} with the appropriate integers.
On macOS, where shuf is not installed by default, just use python: