Hi,
I need to pick "172.21.3.1" from the list of IP Addresses below (grep isn't the command for this because it will pick all these addresses).
172.21.3.1
172.21.3.11
172.21.3.12
172.21.3.13
172.21.3.100
Is there any command better than grep? I have an idea to use "wc -c" command but I find it difficult to construct the loop.
Please help.
I need to pick "172.21.3.1" from the list of IP Addresses below (grep isn't the command for this because it will pick all these addresses).
172.21.3.1
172.21.3.11
172.21.3.12
172.21.3.13
172.21.3.100
Is there any command better than grep? I have an idea to use "wc -c" command but I find it difficult to construct the loop.
Please help.