Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

random number in bash

echo $RANDOM
echo $(( $RANDOM % 50 + 1 ))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #random #number #bash
ADD COMMENT
Topic
Name
9+5 =