Question: linux when are tmp files deleted?
Answer: /tmp directory is a directory used to hold temporary files (or session files) when application is running. Those temporary files will be deleted automatically by application once their process is got completed. By default /tmp directory is cleaned up only at the time of system startup or reboot.