Shell Script Randomizing?

karlp at ourldsfamily.com karlp at ourldsfamily.com
Sun May 14 03:01:46 UTC 2006


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.

TIA

-- 
karl
     _/  _/      _/      _/_/_/       ____________   __o
    _/ _/       _/      _/    _/     ____________  _-\<._
   _/_/        _/      _/_/_/                     (_)/ (_)
  _/ _/       _/      _/           ......................
 _/   _/ arl _/_/_/  _/ earson    KarlP at ourldsfamily.com
---
Senior Consulting Sys/DB Analyst
http://consulting.ourldsfamily.com
---
 My Thoughts on Terrorism In America right after 9/11/2001:
 http://www.ourldsfamily.com/wtc.shtml
---
 A right is not what someone gives you; it's what no one can take from you.
 -Ramsey Clark
---





More information about the Redhat-install-list mailing list