------------------------------------------------ --> for a in `cat HOSTS` > do > ping -c 2 $a > done # where HOSTS contains a list of hosts