zgrep -C5 'xyz' abc.gz
i have above grep
in the results how to search on say "error code=1111 description=null pointer"
Above results too large i am not able to copy paste to notepad++ (which i usually do makes easy to to my eyes) to search on like error code=1111 description=null pointer"
zgrep -C5 'xyz' abc.gz >>/home/TestUser/testuser.txt
can we do tail or head on above?