Find the answer to your Linux question:
Results 1 to 2 of 2
Can anybody tell me some unix/linux utilities for parsing ip addresses... The problem is,i have to write a unix shell scripting program which will get 2 ip addresses as input...one ...
  1. #1
    Just Joined!
    Join Date
    Mar 2007
    Posts
    15

    Question Parsing ip addresses

    Can anybody tell me some unix/linux utilities for parsing ip addresses...
    The problem is,i have to write a unix shell scripting program which will get 2 ip addresses as input...one is starting ip address and other is ending ip address....I have to traverse over all the ip addresses in the given range and find out by pinging each address wheteher a server is down.....

  2. #2
    Linux User cyberinstru's Avatar
    Join Date
    Jan 2007
    Location
    India
    Posts
    362
    Use nmap with ping host option

    nmap -sP <ip address, ...., range>
    ---------------------------------
    Registered Linux User #440311
    HI2ARUN _AT_ GMAIL _DOT_ COM
    ---------------------------------

Posting Permissions

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