FWIW, I'd write it this way: for i in `seq 10`; do ping -c 1 192.168.1.$i; done or for i in {1..10}; do ping -c 1 192.168.1.$i; done -Ross -----Original Message----- From: wlug-bounces@mail.wlug.org [mailto:wlug-bounces@mail.wlug.org] On Behalf Of Brett Russ Sent: Wednesday, April 04, 2007 20:02 To: Worcester Linux Users Group Subject: Re: [Wlug] ping command expansion On 4/4/07, Chuck Noyes <vze284qe@verizon.net> wrote:
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.
I just learned something new (fping)! I was also going to suggest broadcast ping: ping -b 192.168.1.255 _______________________________________________ Wlug mailing list Wlug@mail.wlug.org http://mail.wlug.org/mailman/listinfo/wlug