I have a file with a list of IP addresses. For instance:
I want to run grep over it and get as a result only the second one, 192.168.10.15:
grep 192.168.123.15 ~/ip_list
The result is that I get both 192.168.10.15 and 192.168.10.155
How can I match only the .15 IP? I tried a few things while googling but no luck.
Thanks a lot in advance!