Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Tyrone Miles on December 14, 2002, 08:22:27 PM
-
I want to delete all my webserver logs for this past year, what is the most simple way.
I already have them backed up.
-
From Console:
/etc/rc.d/init.d/httpd stop
/etc/rc.d/init.d/httpd-admin stop
rm -rf /var/log/httpd/*
/etc/rc.d/init.d/httpd start
/etc/rc.d/init.d/httpd-admin start
Hope this helped,
Nathan
-
Thanks A LOT!