rm –f /usr/local/apache/domlogs/*

ivaserver

Well-Known Member
Aug 9, 2002
111
0
166
Hi Could anyone tell me exactly what files are deleted when i run the command rm –f /usr/local/apache/domlogs/*

I am a bit worried just in case this deletes stats or something

Thanks
Ivaserver
 

Website Rob

Well-Known Member
Mar 23, 2002
1,504
1
318
Alberta, Canada
cPanel Access Level
Root Administrator
That would not be a good thing -- would it?

As that's where vital information is for each account, would not deleting part of the file be better than deleteing the whole thing?
 

dgbaker

Well-Known Member
PartnerNOC
Sep 20, 2002
2,576
9
343
Toronto, Ontario Canada
cPanel Access Level
DataCenter Provider
You can safely delete them at a month end when the stats for that month have been fully done. Timing though is everything, you could lose a few stats for the users if you wait to long. I agree with Rob, truncate the top of the files