[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: how to clean the /var/log/messages
> How to clean /var/log/messages file?
>
> Suneel
Dear Suneel,
The following procedure will work in the Red Hat Linux only.
First your delete the file using the rm command.
#rm /var/log/messages
Then you should run the following messages to create it again with
empty file.
#service syslog restart
It will create a new /var/log/messages file again.
Regards,
Srinivas G
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/