On 7/6/2011 5:37 AM, Fajar Priyanto wrote: > Hi all, > Currently I do 'tail -f /var/log/messages | grep something' to > monitor/tune in my iptables rules. > > Based on your experience, is there any tools do that better like: > - color > - grepping multiple keywords > - some statistic I don't know about any tools for this, but I did want to point out that grep can handle multiple keywords. $ tail -f /var/log/messages | grep -e keyword1 -e keyword2 -e keyword3 Also, current versions of grep have the '-P' flag to allow use of Perl regular expressions for more complex matches. -- Bowie