random variable

How do I create or generate random numbers (sequence of numbers that lack any pattern), under Bash shell?

{ 15 comments }

Q. How do I create a temporary file securely under UNIX Bash shell? A. There are many ways: [a] mktemp command – make temporary unique filename [b] $RANDOM – Use $RANDOM variable mktemp command From the man page: The mktemp utility takes the given filename template and overwrites a portion of it to create a […]

{ 2 comments }