encyclopegia.org

TMPDIR

TMPDIR is the canonical environment variable in Unix and POSIX 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 or . 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.

TMPDIR is the canonical environment variable in Unix and POSIX 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 or . 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. ==See also== Filesystem Hierarchy Standard mktemp Unix filesystem ==References==

References

No reference rows published for this article.

Cite this article

MLA

"TMPDIR." encyclopegia.org, 2026, https://encyclopegia.org/wiki/tmpdir. Accessed 24 November 2026.

Chicago

"TMPDIR." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/tmpdir.

APA

encyclopegia.org. (2026). TMPDIR. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/tmpdir

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Community building

enwiki · references available

Jeremiah Atwater

enwiki · references available

Chunghye of Goryeo

enwiki · references available

Assoungha Department

enwiki · references available

United States at the 1936 Summer Olympics

enwiki · references available

Scitamineae

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1346258085 · 0.5 · snapshot enwiki-001346258085

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.