how to create random function in bash code example Example: bash random number $ echo $(( $RANDOM % 10 ))