1

A problem with $RANDOM range in bash

view story
linux-howto

http://unix.stackexchange.com – why the code below, supposed to display a random from 2-3 range, actually works as if the range was 2-4? echo $((RANDOM%3+2)) (HowTos)