- TMPDIR
TMPDIR is the canonical
Unix environment variable which points to userscratch space . MostUnix utilities will honor the setting of this variable and use its value to denote the scratch area for temporary files instead of the common default of /tmp.Other forms sometimes accepted are TEMP, TEMPDIR, and TMP but these are used more commonly by non-
POSIX Operating system s.
Wikimedia Foundation. 2010.