CentOS / RHEL 6,7 : Why the files in /tmp directory gets deleted periodically

In CentOS/RHEL 7, tmpfiles.d cleans up /tmp or /var/tmp by removing unused files. This function was called “tmpwatch” in CentOS/RHEL 6 which is invoked by crond, however, it is now realized by timer of systemd on CentOS/RHEL 7. The main purpose of the /tmp directory is to temporarily store files when installing an OS or … Continue reading CentOS / RHEL 6,7 : Why the files in /tmp directory gets deleted periodically