Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.apps > #742

Re: /usr/local/bin/rand equivalent in linux

From Jasen Betts <jasen@xnet.co.nz>
Newsgroups comp.os.linux.development.apps
Subject Re: /usr/local/bin/rand equivalent in linux
Date 2014-06-20 12:49 +0000
Organization JJ's own news server
Message-ID <lo1akc$igc$2@gonzo.reversiblemaps.ath.cx> (permalink)
References <7f1ed141-ce31-44f5-9f2f-48a21b4d11c7@googlegroups.com>

Show all headers | View raw


On 2014-06-19, chaudhary.nabin@gmail.com <chaudhary.nabin@gmail.com> wrote:
> can anyone tell what is the equivalent for /usr/local/bin/rand in linux?

It's hard to give a good answer without knowing what "/usr/local/bin/rand"
actually is.  However, I can give a bad answer that's most probably
correct.  Since /usr/local is where stuff that's compiled from source
and then installled ends up, the correct answer is probably 
"/usr/local/bin/rand", but only if you have the source and can port it.


you wany want to investigate

 kernel device: /dev/urandom   (man 4 urandom)
 
 bash built-in: $RANDOM        (man 1 bash)
 
 and /usr/games/rolldice  (from the "rolldice" package - man 6 rolldice)
 




-- 
umop apisdn


--- news://freenews.netfront.net/ - complaints: news@netfront.net ---

Back to comp.os.linux.development.apps | Previous | NextPrevious in thread | Find similar


Thread

/usr/local/bin/rand equivalent in linux chaudhary.nabin@gmail.com - 2014-06-19 14:21 -0700
  Re: /usr/local/bin/rand equivalent in linux Mikko Rauhala <mjr@iki.fi> - 2014-06-19 23:03 +0000
  Re: /usr/local/bin/rand equivalent in linux Jasen Betts <jasen@xnet.co.nz> - 2014-06-20 12:49 +0000

csiph-web