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

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news.netfront.net!gonzo.reversiblemaps.ath.cx!not-for-mail
From Jasen Betts <jasen@xnet.co.nz>
Newsgroups comp.os.linux.development.apps
Subject Re: /usr/local/bin/rand equivalent in linux
Supersedes <lo1a4c$igc$1@gonzo.reversiblemaps.ath.cx>
Date 20 Jun 2014 12:49:16 GMT
Organization JJ's own news server
Lines 27
Message-ID <lo1akc$igc$2@gonzo.reversiblemaps.ath.cx> (permalink)
References <7f1ed141-ce31-44f5-9f2f-48a21b4d11c7@googlegroups.com>
NNTP-Posting-Host 118.90.38.108
X-Trace adenine.netfront.net 1403269209 23648 118.90.38.108 (20 Jun 2014 13:00:09 GMT)
X-Complaints-To news@netfront.net
NNTP-Posting-Date Fri, 20 Jun 2014 13:00:09 +0000 (UTC)
X-Face ?)Aw4rXwN5u0~$nqKj`xPz>xHCwgi^q+^?Ri*+R(&uv2=E1Q0Zk(>h!~o2ID@6{uf8s;a +M[5[U[QT7xFN%^gR"=tuJw%TXXR'Fp~W;(T"1(739R%m0Yyyv*gkGoPA.$b,D.w:z+<'"=-lVT?6 {T?=R^:W5g|E2#EhjKCa+nt":4b}dU7GYB*HBxn&Td$@f%.kl^:7X8rQWd[NTc"P"u6nkisze/Q;8 "9Z{peQF,w)7UjV$c|RO/mQW/NMgWfr5*$-Z%u46"/00mx-,\R'fLPe.)^
User-Agent slrn/pre1.0.0-18 (Linux)
Xref csiph.com comp.os.linux.development.apps:742

Show key headers only | 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