Last active
April 3, 2017 10:44
-
-
Save murarisumit/c6a81f06449409a5ccb1d6800a18160e to your computer and use it in GitHub Desktop.
Use AWK for multiple filtering of output generated #awk #bash #gnu/linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep search-term file_name | awk '/filter1/ && !/filter2/ && $3!="filter3" { print $1 }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment