Hi ,
I need a script to ping all /etc/hosts file entries and find out if are there any entries in this file which i don't need.I think to find out ping would be fine but if you got any diferent idea it would be cool too.
hi ,
Thanks for answers .I tried all but it only pings the first line (local host) but i need to ping all entries and if it's pinging doesn't matter but is there any entries i can not ping i am gonna remove them from hosts file.So i need to find only entries i don't need.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.