grep "<ValidateXYZResponse" filename.log* | grep -v "<ResponseCode>000<ResponseCode>"
Above command works fine in UNIX where grep -v excludes the records having response code "000"
However, along with "000", I need to exclude the following response codes too: "404", "410", "403", "406"
I am new to unix shell script.
If anyone knows how to do it, please help. Appreciate your help. Thanks.