1 FAQ tagged "/tmp/output.XXXXXXXXXX file"
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 ~ 3 Comments
Today ~ 5 Comments
Today ~ 1 Comment
Yesterday ~ 1 Comment
Yesterday ~ 2 Comments