On Mon, 20 Nov 2000, Christopher Vasanth wrote: > > Hi there: > > Can anyone show me how to generate a random number in a shell script? Simplest, if you are using BASH: echo $RANDOM Otherwise, you can read /dev/random or /dev/urandom. But that'd be tedious from a shell script. Sreeji ---------------------------------------------- The mailing list archives are available at http://lists.linux-india.org/cgi-bin/wilma/LIH
- [LIH] Random number in shell script Christopher Vasanth
- [LIH] Random number in shell script Sreeji K Das
- [LIH] Random number in shell script Raju Mathur
- Re: [LIH] Random number in shell script Arun Sharma
- Re: [LIH] Random number in shell script Raju Mathur
- Re: [LIH] Random number in shell script Arun Sharma
