Last active
December 15, 2021 18:16
-
-
Save morvanabonin/fc5338398a31befe342424a637b0b8de to your computer and use it in GitHub Desktop.
greps commands
This file contains 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
# some help and explanation https://www.thegeekstuff.com/2011/10/grep-or-and-not-operators | |
egrep '[[]]' Comparator-DNS-Error.log | grep -v .ip6.arpa. | grep -Ev '3.131.52.32|13.59.106.13|3.18.34.0' | |
grep -rin "3.131.52.32" Comparator-DNS-Error.log | awk '{print $13}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment