[Wlug] ping command expansion

Chuck Noyes vze284qe at verizon.net
Wed Apr 4 18:48:23 EDT 2007


Hi All,

I want to ping lots and lots of consecutive ip addresses. If I issue
ping 192.168.1.{1,2,3}, I get ping 192.168.1.1 192.168.1.2 192.168.1.3
which isn't exactly what I want.

How can I issue a "short-hand" ping command, that will expand to
ping 192.168.1.1
ping 192.168.1.2
ping 192.168.1.3
etc.

TIA,

-- 
-Chuck


More information about the Wlug mailing list