I have a big report with many IP address shown in random lines. All the IP address start out with 192.168. I would like to extract only the Ip addresses and get a report that looks like:
And nothing else. I tried
cat filename | grep -w 192
that seems to get the whole line. I only want the full IP address. I appreciate any information you can share with me.