LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   2 gigabyte /tmp directory..ok to delete contents (http://www.linuxquestions.org/questions/linux-newbie-8/2-gigabyte-tmp-directory-ok-to-delete-contents-225502/)

pAn1k 09-01-2004 10:16 PM

2 gigabyte /tmp directory..ok to delete contents
 
My /tmp directory is 2 gigs is it similar to windows, in that there is nothing vital in this directory? I'd like to make a little space on my hard drive can I delete the contents safely? Thanks for any help.

IBall 09-01-2004 11:59 PM

/tmp should be emptied when the computer is rebooted. So you could reboot, and it will be emptied.

I don't know if any processes you may have running have stuff in /tmp, so perhaps it is best not to delete the contents of /tmp while the computer is running.

If you want to though:
Code:

rm -fr /tmp/*
I hope this helps
--Ian

sether 09-02-2004 12:00 AM

usually the /tmp directory is cleared after a restart. restart and see if its still got 2GB there.

pAn1k 09-02-2004 09:56 AM

thanks
 
I don't usually turn my computer off, but I tried restarting it and all the files remained. HHMMM... that's weird. I appreciate the help guys.


All times are GMT -5. The time now is 04:49 AM.