Re: Script Required to Check a range of IP's
- From: jcolson@xxxxxxxxxxxx (Joshua Colson)
- Date: Thu, 29 Jun 2006 09:13:52 -0700
On Thu, 2006-06-29 at 19:44 +0400, Mazhar wrote:
Hi Folks,
I have a requirement of writing down a script to check the range of IP's in
a text file and display them which all are active and not active.
I have written down the below and needs your help because it is not giving
me the correct ouptut.
Why don't you just use a shell tool like nmap for this? Something like
(assuming all the IPs are the only thing in the file):
cat ips.txt | xargs nmap -sP
--
Joshua Colson <jcolson@xxxxxxxxxxxx>
.
- Follow-Ups:
- Re: Script Required to Check a range of IP's
- From: Mazhar
- Re: Script Required to Check a range of IP's
- References:
- Script Required to Check a range of IP's
- From: Mazhar
- Script Required to Check a range of IP's
- Prev by Date: Script Required to Check a range of IP's
- Next by Date: Re: Script Required to Check a range of IP's
- Previous by thread: Script Required to Check a range of IP's
- Next by thread: Re: Script Required to Check a range of IP's
- Index(es):
Relevant Pages
|