Hello,
I have a text file containing IP information, the IP address is in the first column of the file. What I want to do is match a range in the first octet, I'm new to scripting so I'm a little confused. Heres what I have tried.
awk '$1 ~ /[192 - 196].168.0.1/' samplelog
so basically I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.