delete log

tza

Verified User
Joined
Jan 8, 2007
Messages
77
how i delete log from this ?
Does this affect the speed of the server because the server is slow?

[root@server1 var]# cd log
[root@server1 log]# du -h
7.1M ./directadmin
94M ./exim
8.6M ./rkhunter
20M ./audit
4.0K ./pm
152K ./prelink
840M ./httpd/domains
873M ./httpd
210M ./proftpd
4.0K ./cups
1.7G .


thanks
 
You dont know how to delete files in linux?

A filled filesystem is not going to make a server slow.
 
840M ./httpd/domains
873M ./httpd


in this fille how i dele log that i not need
 
cd /var/log/httpd/

then

delete all the ones with numbers at the end, i.e rm access_log.1


If thats what you mean?
 
Back
Top