Loading AI tools
From Wikipedia, the free encyclopedia
TMPDIR
is the canonical environment variable in Unix and POSIX[1] that should be used to specify a temporary directory for scratch space. Most Unix programs will honor this setting and use its value to denote the scratch area for temporary files instead of the common default of /tmp[2][3] or /var/tmp.[4]
This article needs additional citations for verification. (December 2009) |
Other forms sometimes accepted are TEMP
, TEMPDIR
and TMP
, but these alternatives are used more commonly by non-POSIX operating systems or non-conformant programs.
TMPDIR
is specified in various Unix and similar standards, e.g. per the Single UNIX Specification.[5]
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.