Suggest a StoryDo you have a news tip? We would like to hear from you.

[How To]: extend time for deleting temporary files in tmp directory on Ubuntu 10.04 LTS

Spread the love

Temporary files located on /tmp directory will be deleted by default with every time you restart or shutdown from ubuntu 10.04 LTS. It becomes handy some times if you want to keep your tmp files for some applications already installed in your machine in case you want to use it later.

Open this your filesystem directory /etc/default/rcS Open this file

In line 10 you will find ” TMPTIME=0 ” by default the value is zero that value delete temporary files with every time you restart the machine.

If you want to keep your files for ever make the value ” TMPTIME=0 ” with negative number. ” not recommended it will  ”

If you want to keep temporary file for two days, change the value to be ” TMPTIME=2 ”

so that’s for now 🙂

Spread the love

Leave a Reply