It is always a good idea to 'pipe null' into a log file to clean it out.
I do not think it would matter to these two but to others it does.
To do this, issue the following command:
: > <log file name>
This will reduce the file size to 0...
CC
-----Original Message-----
From: Michael Segulja <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, April 22, 1998 9:32 PM
Subject: Log Files
>I just noticed that my log files are getting pretty large. The
>/var/log/messages is 7MB and one called /var/log/cron is about 11MB. Is
>there a way that I can clear these? I supposed just deleting them would be
>a bad idea.
>
>Thanks for any advice,
>
>Michael Segulja
>[EMAIL PROTECTED]
>
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.