How can I delete /tmp and /var/tmp files?

Izkabola

Well-Known Member
Aug 5, 2003
58
0
156
Hello,

I was talking to my dedicated provider and they told me to delete all files in /tmp and /var/tmp. Where are these folders found, and what SSH command would I use to delete them? They are all full and I really need help!

Thanks in advanced!!!

EDIT:

I tired
Code:
rm -rf /tmp
however it gives me the message device or resource busy.
 
Last edited:

ntwaddel

Well-Known Member
Nov 3, 2003
173
0
166
Templeton, CA
yeah i dont know why they told you to delete everything in there. but anyways, if you do delete the mysql sock file, you will probably have to restart the mysql daemon to get it to recreate the sock file. I dont know about the horde log, but i imagine it will get recreated.
 

linux-image

Well-Known Member
Jun 8, 2004
1,190
1
168
India
cPanel Access Level
Root Administrator
just touch the horde.log at /tmp. u will need it; else horde might show errors.