Difference between revisions of "Mktemp"
Jump to navigation
Jump to search
↑ https://www.gnu.org/software/autogen/mktemp.html
Tags: Mobile web edit, Mobile edit |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
-p tmpdir, --tmpdir[=tmpdir] | -p tmpdir, --tmpdir[=tmpdir] | ||
− | Use tmpdir for the -t flag if the TMPDIR environment variable is | + | 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 | interpreted relative to the path specified as tmpdir. If tmpdir | ||
is either empty or omitted, then the [[TMPDIR]] environment variable | is either empty or omitted, then the [[TMPDIR]] environment variable | ||
Line 17: | Line 16: | ||
== See also == | == See also == | ||
* {{mktemp}} | * {{mktemp}} | ||
− | * {{ | + | * {{tmp}} |
+ | |||
+ | [[Category:Linux]] |
Latest revision as of 06:37, 17 September 2024
wikipedia:mktemp [1] 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/
See also[edit]
Advertising: