LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Temp Folder (https://www.linuxquestions.org/questions/linux-general-1/temp-folder-1887/)

tfrye 04-17-2001 08:47 AM

Does anyone know how to empty the tmp folder? I do not believe my system is doing it automatically.

CragStar 04-17-2001 04:38 PM

I didn't think that the /tmp folder was emptied regularly, unless you have set it to from some certain distro, or have created a script to do it.

Unless you delete every file by hand I don't know of any other way.

killjoy 04-18-2001 07:38 AM

rm -rf /tmp/*
rm -rf /tmp/.*

tfrye 04-18-2001 08:33 AM

I was curious to know whether linux /tmp folder items work similar to (gasp) Windows, meaning that everything in there could be deleted as long as it does not have a current day date stamp on it.


All times are GMT -5. The time now is 09:46 PM.