News for hackers. Stuff that matters.
Re:Interesting commands for the Linux shell by Tepix on Thursday September 14, 2017 @07:02AM (#15246723)
Indeed! Also if $RANDOM is too small for your needs, you can use $RANDOM$RANDOM (and it will have different values)
Re:Interesting commands for the Linux shell by jwilk on Thursday September 14, 2017 @07:19AM (#15246798)
$RANDOM$RANDOM doesn't have uniform distribution.

Use $((RANDOM + (RANDOM << 15))) instead.