1 FAQ tagged "tmp"
Viewing 1-1 of 1 FAQ -- How to: create a temporary file securely
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 unique filename. The [...]
Viewing 1-1 of 1 FAQ - ( see all popular tags )


Recent Comments
Today ~ 88 Comments
Today ~ 6 Comments
Today ~ 7 Comments
11/07/2008 11:19 am (4 weeks ago) ~ 7 Comments
Today ~ 5 Comments