mktemp
Jump to navigation
Jump to search
wikipedia:mktemp doc Create a temporary file or directory, safely, and print its name.
mktemp
-p tmpdir, --tmpdir[=tmpdir]
Use tmpdir for the -t flag if the TMPDIR environment variable is not set. Additionally, any provided template arguments will be
interpreted relative to the path specified as tmpdir. If tmpdir
is either empty or omitted, then the TMPDIR environment variable
will be used.
mktemp -u /tmp/ /var/folders/
See also[edit]
Advertising: