Difference between revisions of "Mktemp"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
[[wikipedia:mktemp]] <ref> https://www.gnu.org/software/autogen/mktemp.html</ref> Create a [[temporary]] file or directory, safely, and print its name.
  
* https://www.gnu.org/software/autogen/mktemp.html
+
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
 
  
 +
[[mktemp -u]]
 +
[[/tmp/]]
  
 +
== See also ==
 +
* {{mktemp}}
 +
* {{tmp}}
  
{{temp}}
+
[[Category:Linux]]

Latest revision as of 18:21, 10 April 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]

  • https://www.gnu.org/software/autogen/mktemp.html
  • Advertising: