$SRANDOM
–
Secure Random Number
$SRANDOM
expands to a 32-bit pseudo-random number each time it is referenced.
This variable is only supported by Bash 5.1 and later versions.
Links
BashSupport Pro is a Bash IDE with support for $SRANDOM – try it now!