if you just want to clobber the contents while everything is still
running, 

cat /dev/null > /var/log/messages

should do it.

charles

On Tue, 10 Apr 2001, Pieter De Wit wrote:

> Hello All,
> 
> How do I clear messages in the /var/log/messages file ?
> 
> (Did some ipchains rules and this log is _BIG_ :)



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to