Re: Script Required to Check a range of IP's
- From: syedmazhar.hasan@xxxxxxxxx (Mazhar)
- Date: Thu, 29 Jun 2006 20:31:06 +0400
thanks Joshua for the help but the server is very critical and they will not
install any external softwares. This is the policy and i have to adhere to
the policy...
i need a perl script to do so..
Regards
Mazhar
On 6/29/06, Joshua Colson <jcolson@xxxxxxxxxxxx> wrote:
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>
- References:
- Script Required to Check a range of IP's
- From: Mazhar
- Re: Script Required to Check a range of IP's
- From: Joshua Colson
- Script Required to Check a range of IP's
- Prev by Date: Re: 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: Re: Script Required to Check a range of IP's
- Next by thread: Re: Script Required to Check a range of IP's
- Index(es):