Sponsored Content
Top Forums Shell Programming and Scripting how to get the value of a registry using csh script. Post 302813325 by shreedhar.rk123 on Monday 27th of May 2013 05:12:39 AM
Old 05-27-2013
Can you elaborate your requirement?
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

How to change the MTU in Unix registry?

Does anyone know how to or know of a web page where I can find how to change the MTU speed in Unix registry? Any info. would be greatly appreciated. Thanks, Techie (2 Replies)
Discussion started by: Techie_girl
2 Replies

2. UNIX for Dummies Questions & Answers

Comparable registry file in UNIX

Hi all, I am totally new to UNIX. I am currently using converting an existing software package from MFC C++ to wxwindow which allows the software to run under Windows and UNIX. My problem is my existing software package writes to and from the registry. How is this accomplished in UNIX? ... (2 Replies)
Discussion started by: DavidCountry
2 Replies

3. UNIX for Dummies Questions & Answers

about registry and sed command

can someone please explain the sed command and its purpose and an example of its use. Also can you explain the registry thing with an example also. thanks (3 Replies)
Discussion started by: djeung
3 Replies

4. Solaris

Registry analogous in Solaris

Hi, May seem to be an absurd question, still. As we have registry in Windows which keeps track of what is installed and where, what is its analogous thing in Solaris. Is this same in all Unix flavours or different. (4 Replies)
Discussion started by: vibhor_agarwali
4 Replies

5. UNIX for Dummies Questions & Answers

Registry

what Unix systems have for registry? windows have registry. Unix have ??? (1 Reply)
Discussion started by: cs05pp2
1 Replies

6. Shell Programming and Scripting

csh failing to call an 2 embedded csh script

I have an extraordinary problem with a csh script.....(feel free to berate the use of this but I'm modifying an existing bunch of them) Anyway, I have a master csh script which in turn calls a second csh script. This second csh script is below. Within this second script are two compiled C++... (1 Reply)
Discussion started by: pollsizer
1 Replies

7. AIX

How to see a Registry on AIX??

Hi Folks, Could you please help me with the command to find the Registry on AIX machine? For ex in windows we can see a products registry using the REGEDIT....In similar do we have any command for AIX? (1 Reply)
Discussion started by: nvindraneel
1 Replies

8. UNIX for Advanced & Expert Users

Read/update windows registry using UNIX script

Hi, I have a requirement where in to read the registry value of a windows NT based system from a AIX server which should be automatic. For eg. the script should connect to the Win NT system, read the registry as specified on the input and display the output on the AIX screen? Eg. <script... (3 Replies)
Discussion started by: sathish57
3 Replies

9. Shell Programming and Scripting

Why execution is different from orginal bash registry$database?

Hi all, here's my script #!/bin/ksh if then export DB_CREATE_PATH=`pwd` fi echo echo "********************--Menu--*****************************" echo "*** " echo "*** 1. Pre-Upgrade Steps "... (3 Replies)
Discussion started by: jediwannabe
3 Replies
rand(3C)																  rand(3C)

NAME
rand(), rand_r(), srand() - simple random-number generator SYNOPSIS
DESCRIPTION
uses a multiplicative, congruential, random-number generator with period 2^32 that returns successive pseudo-random numbers in the range from 0 to 2^15-1. can be called at any time to reset the random-number generator to a random starting point. The generator is initially seeded with a value of 1. returns a random number at the address pointed to by the randval parameter. The seed parameter can be set at any time to start the random- number generator at an arbitrary point. Note The spectral properties of leave a great deal to be desired. provides a much better, though more elaborate, random-number generator (see drand48(3C)). RETURN VALUE
If seed or randval is NULL, returns 0. Otherwise, returns a psuedo-random integer. EXAMPLES
The following: int x, y; srand(10); x = rand(); y = rand(); would produce the same results as: int x, y, s = 10; x=rand_r(&s); y=rand_r(&s); WARNINGS
Users of should note that rand_r() now conforms with POSIX.1c. The old prototype of is supported for compatibility with existing DCE applications only. SEE ALSO
drand48(3C), random(3M), thread_safety(5), random(7). STANDARDS CONFORMANCE
rand(3C)
All times are GMT -4. The time now is 01:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy