|
Appreciate the responses, so far I am trying to read up on what to do next, the problems I am facing are I need to know how to step to the next line in the text file, and the results I got so far are troubling. I have 2 ip addresses so far in the text file, when the IP address that pings is first in the list, it prints:
--IP address 1-- PINGS
but when I have an IP address that doesnt ping first in the list it prints:
--IP address 2-- PINGS
I also modified my code to delete the results file at the start of the script
EDIT: I have removed the real IP addresses and just have them named --IP address 1-- and --IP address 2--
|