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 […]