Last active
October 14, 2019 15:42
-
-
Save chasgames/06cd7d1f5b3122b401b4a84376b8f3ae to your computer and use it in GitHub Desktop.
grep match ipv4/cidr e.g 127.0.0.1/32
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 -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}/[0-9]{1,2}\b" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment