Thursday, 24 May 2012
 Home arrow Blog arrow How to Ping all the hosts in hosts file in Linux
   
Main Menu
Home
News
Blog
Links
Search
FAQs
Spider
Articles
@intrenet
Free Softwares
Break for fun
Friends VIdeos
Techno videos
Contact Us
Disclaimer
Guest Book
Speed test
V.E.C. Calculator
IPv4 Subnet Calc
IPv6 Subnet Calc
Byte Converter
Converter
GMT/UTC Time
Bandwidth Calc
Allinone Calc
IANA Port Numbers
Country Call Codes
Pk Postal Codes
Surf Anonumously
Visitors Counter
mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday239
mod_vvisit_counterYesterday302
mod_vvisit_counterThis week801
mod_vvisit_counterThis month5350
mod_vvisit_counterAll126026
 
 
 
 


How to Ping all the hosts in hosts file in Linux PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Amanatullah khalil   
Saturday, 23 May 2009

How to Ping all the hosts in hosts file in Linux

 

Did you know you can ping all the hosts listed in the /etc/hosts file with one command? Do it with

for i in `grep -v “^#” /etc/hosts | awk ‘{print $1}’`; do ping -c 1 -w 2 $i ; echo; done
THanks to  http://techgurulive.com/2009/04/24/how-to-ping-all-the-hosts-in-hosts-file-in-linux/
 
< Prev   Next >
 
 
 
csatpk Newsflash
Statistics
OS: Linux h
PHP: 5.2.17
MySQL: 5.1.63-community-log
Time: 05:01
Caching: Disabled
GZIP: Disabled
Members: 3
News: 368
Web Links: 5
Visitors: 266746
Popular