Mike Vanecek wrote:

Been at it too long, looked in the Reg Expression book, but just can not see
it. Would some kind soul please tell what I am doing wrong here:

I want to look at messages and ignore lines that have asia1 or asia2 in them:


grep -vie '(asia1|asia2)' /var/log/messages | less


I have tried several different combinations, but obviously not the correct one.

TIA, Mike.


egrep -v "asia1|asia2" /var/log/messages | less





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

Reply via email to