Running a rand or random script

Barry Byrne barry.byrne at wbtsystems.com
Mon Jun 16 09:47:59 PDT 2003


jot -r 5 0 9 | rs -g 0 5

--
Barry Byrne, IT Manager,
WBT Systems, Block 2, Harcourt Centre
Harcourt Street, Dublin 2, Ireland


> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Jack L. Stone
> Sent: 16 June 2003 17:15
> To: freebsd-questions at freebsd.org
> Subject: Running a rand or random script
> 
> 
> I need to run a script, perhaps using FBSD's 'rand' or 'random' 
> command (or
> any other) that will generate one single 5-digit number 'at 
> random' between
> 00001-99999
> 
> Anyone have thoughts on how to do this....??
> 
> Many thanks for any suggestions.
> 
> Best regards,
> Jack L. Stone,
> Administrator
> 
> SageOne Net
> http://www.sage-one.net
> jackstone at sage-one.net
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list