I'm taking to putting various files in /tmp
, and I wondered about the rules on deleting them?
I'm imagining it's different for different distributions, and I'm particularly interested in Ubuntu and Fedora desktop versions.
But a nice general way of finding out would be a great thing.
Even better would be a nice general way of controlling it! (Something like 'every day at 3 in the morning, delete any /tmp
files older than 60 days, but don't clear the directory on reboot')