Find the answer to your Linux question:
Results 1 to 2 of 2
Suppose there is a list of files each containing an IP range 192.168.0.1-192.168.0.254 with their their respective downloads and uploads. I can extract the IP with 192.168.0.188 successfully from all ...
  1. #1
    Just Joined!
    Join Date
    Jan 2009
    Posts
    63

    [SOLVED] extract particular data

    Suppose there is a list of files each containing an IP range 192.168.0.1-192.168.0.254 with their their respective downloads and uploads.

    I can extract the IP with 192.168.0.188 successfully from all the files,but when I want to extract the IP with 192.168.0.7 or like this , grep returned with IPs 192.168.0.7* .

    How will extract the exact lines having 192.168.0.7

  2. #2
    Just Joined!
    Join Date
    Nov 2010
    Posts
    2
    $grep -w "192.168.0.7"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...