Tuesday, November 11, 2014

Single liner to ping a subnet from command line

for ip in 192.168.10.{1,2,3..254};do ping -c 1 $ip;done