HOME

TheInfoList



OR:

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 The Filesystem Hierarchy Standard (FHS) is a reference describing the conventions used for the layout of a UNIX system. It has been made popular by its use in Linux distributions, but it is used by other UNIX variants as well. It is maintained b ...
* mktemp * Temporary folder * Unix filesystem


References

Unix file system technology Environment variables {{Unix-stub