Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

range of random numbers bash

$(((RANDOM % $((upperBound - lowerBound))) + lowerBound))
Source by coderwall.com #
 
PREVIOUS NEXT
Tagged: #range #random #numbers #bash
ADD COMMENT
Topic
Name
8+1 =