Skip to Content
Shell Scripting Recipes: A Problem-Solution Approach, Second Edition
book

Shell Scripting Recipes: A Problem-Solution Approach, Second Edition

by Chris F. A. Johnson, Jayant Varma
October 2015
Intermediate to advanced content levelIntermediate to advanced
380 pages
7h 5m
English
Apress
Content preview from Shell Scripting Recipes: A Problem-Solution Approach, Second Edition

CHAPTER 15

image

Random Acts of Scripting

The generation of random numbers is too important to be left to chance.

—Robert R. Coveyou, Oak Ridge National Laboratory

Although it may often seem otherwise, computers are very predictable; they do exactly what they are told (i.e., programmed) to do. Randomness is the antithesis of predictability, and this makes the generation of random number by a computer problematic.

There are two general methods used by computers to generate random numbers: hardware and software. A hardware generator may be a dedicated device, noise from device drivers, or some other source. The software method uses a pseudo-random number ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Distributed Computing in Java 9

Distributed Computing in Java 9

Raja Malleswara Rao Malleswara Rao Pattamsetti
Wicked Cool Shell Scripts, 2nd Edition

Wicked Cool Shell Scripts, 2nd Edition

Dave Taylor, Brandon Perry
Backup and Restore Practices for Sun Enterprise™ Servers

Backup and Restore Practices for Sun Enterprise™ Servers

Stan Stringfellow, Michael Barto, Miroslav Klivansky

Publisher Resources

ISBN: 9781484202203Purchase book