Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash generate random number between

#If you have coreutils installed and want a number inbewtween a value
shuf -i MIN-MAX -n 1
#or you can use bash 
$RANDOM
Source by coderwall.com #
 
PREVIOUS NEXT
Tagged: #bash #generate #random #number
ADD COMMENT
Topic
Name
6+2 =