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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>