Bash генерирует случайное число между

#If you have coreutils installed and want a number inbewtween a value
shuf -i MIN-MAX -n 1
#or you can use bash 
$RANDOM
Exotic Butters