## Methods for Random Number Tracking

Methods for Random Number Tracking
# 8
07-05-2011
All I'm pointing out is that you can't cover all possible algorithms. Even if you somehow cover all known ones, someone can just invent another on you, or just plain do something you didn't expect.

And then there's the problem of trying to figure out the intent of a running program, from the outside in.
 Corona688 View Public Profile for Corona688 Visit Corona688's homepage! Find all posts by Corona688
# 9
07-06-2011
yes, I know but even if a task is impossible to complete 100%, I still like to get as close as possible. that's why I started the thread.
 azar.zorn View Public Profile for azar.zorn Find all posts by azar.zorn

## random number

How can I choose randomly the row numbers of my file in awk?

## Create random number

Hi, I'm trying to create a script that will print random numbers with length of three. Below is the expected out. 928-377-899 942-458-310 951-948-511 962-681-415 995-161-708 997-997-209 thanks

## Random pieces of number

Hello folks, i have number for example 10 and i want to divide into 4 random pieces that may be (6+2+1+1). How can i do this via script i have random number 234951 and i want to divide into 31 pieces.

## Generate random number

I saw this formula to generate random number between two specified values in shell script.the following. \$(((RANDOM%(max-min+divisibleBy))/divisibleBy*divisibleBy+min)) Give a example in book. Generate random number between 6 and 30.like this. \$(((RANDOM%30/3+1)*3)) But I have a...

## Random number is not reused

I need to generate and reuse a 5 digit random number every time my program is executed. But the following generates random numbers every time the function is called. #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <string.h> #include <time.h> ...

## C Help; generating a random number.

Im new to C, and Im having a hard time getting a random number. In bash, I would do something similar to the following to get a random number; #!/bin/bash seed1=\$RANDOM seed2=\$RANDOM seed3=\$RANDOM SEED=`expr \$seed1 * \$seed2 / \$seed3` echo \${SEED%.*} Now, in online examples...

## ksh: random number between 1-10

How do I create a random number between 1 and 10 in kornshell?

## Regarding Random Number Genration

HI please help me in solving this issue. I have a shell script which consists of ten statemnts ( i mean 10 executable statments)...........and if i run that script the 10 statmenst will execute continously ............ But now my probelm is i have to write another script --> to...

## Random number generation

Hi...How can I generate random numbers between a given range ...preferably between 1 and 100...in UNIX C programming...? I tried out functions like rand(),drand48() etc but didnt get satisfactory results... Thanks a lot in advance..........

## event number tracking

Having a bit of trouble trying to sort this one out so any advice is appreciated. I have several scripts running in cron monitoring different events on different servers. These scripts log information events and critical events to a central log file. I wanted to add an event number to every...