Search notes:
/tmp
/tmp
is the root directory for temporary files and directories. This directory is usually world writable and used as a scratch space.
It's often cleared when a system is rebooted. To keep temporary data across reboots, use
/var/tmp
.
Usually, the
/tmp
directory has the
sticky bit
set.
See also
The
shell
command
mktemp
creates temporary directories or files.
Node.js:
os.tmp-dir
/usr/tmp
/dev/shm
A prominent command that uses
/tmp
by default is
sort
(but see also its
-T
option).
/run/user/$uid
Index