Change tmp Directory Cleanup Frequency In Ubuntu

/tmp folder is a temporary storage place, the Reboot After the data in the folder /tmp will be lost, but the folder /tmp can be changed mendelete time for your data. sperti way below

Changing the /tmp Cleanup Frequency

The default setting that tells your system to delete the /tmp at reboot be in /etc/default/RCS file. Akan value we see is TMPTIME.

At the time of this value TMPTIME = 0 to delete the file on reboot even though the age of the file. Changing this value to a different (positive) number will change the number of days can be spent on the file tmp.

TMPTIME = 7

This setting will allow to stay in the file /tmp them until a week old, and then delete them on reboot. Negative number (TMPTIME =- 1) tells the system to never delete anything in /tmp. This is probably not something you want, but available.

this way on Ubuntu, and finally found this day.

Happy Testing

No comments:

Post a Comment

Please Comment...!!