Zufällungsnummer verprügeln
$ echo $(( $RANDOM % 10 ))
Fragile Frog
$ echo $(( $RANDOM % 10 ))
$(( ( RANDOM % 10 ) + 1 ))
#If you have coreutils installed and want a number inbewtween a value
shuf -i MIN-MAX -n 1
#or you can use bash
$RANDOM
$ echo $((1 + $RANDOM % 10))
3
DIFF=$((Y-X+1))
R=$(($(($RANDOM%$DIFF))+X))