T o n g a écrit :
My /var/log/mail.err is very big due to a misconfiguration error. However, I can't simply remove it because it is "owned" by rsyslogd:
[...]
So, how to properly empty log files?
Hi, If you dont want to : - restart syslog - keep the information in the file you can "truncate" the file with the folowing bash line : > /var/log/mail.err or the following portable line : echo > /var/log/mail.err Fanfan