bash random number between 0 and 100 code example
Example 1: get random number shell script
$(( ( RANDOM % 10 ) + 1 ))
Example 2: bash random number
$ echo $(( $RANDOM % 10 ))
$(( ( RANDOM % 10 ) + 1 ))
$ echo $(( $RANDOM % 10 ))