Shell Script Randomizing? 2006-05-13 - By inode0
Back On 5/13/06, karlp@(protected) <karlp@(protected)> wrote: > How can I create a random number in a bash shell script? I've done a bit of > 'google-ing' and `man random, srandom, initstate, setstate - random number > generator` and can't find any suitable answers.
Does the RANDOM variable in bash suit your purposes? See "man bash" and search for RANDOM. If not, perhaps you could tell us a bit more about what you require.
John
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Redhat-install-list mailing list Redhat-install-list@(protected) https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request@(protected) Subject: unsubscribe
|
|