On most FHS systems, there is a /tmp
folder as well as a /var/tmp
folder. What is the functional difference between the two?
While running a script, I want to create a temporary file in /tmp
directory.
Right now /tmp
has some temporary files in it. When I mount my hard drive (/dev/sdc1
) on top of /tmp
, I can see the files on the hard drive. What happens to the actual content of /tmp
when my hard drive is mounted? Is it possible to perform r/w operations on the actual content of /tmp
while the hard drive is mounted?
When using the tab bar, I keep getting this error:
I have created a really really short life temporary directory that I wanted to share between some users for a few hours : /some/path/tmp
I have a script that needs to create temporary files for its work, and clean up after itself. My question is about finding the right base directory for the temporary files.
I have /tmp
on a separate partition, and mounted with noexec
. I am using Debian.