bluethundr
February 13th, 2010, 05:51 PM
Hello,
I would like to setup a ping test in one of my bash scripts. But *nix pings are continuous which would make the script continue until interrupted with Ctrl+C
How do you specify a certain number of pings to be issued?
***ah!!!
ping -c $IPADDR
nm.. figured it out.. :)
I would like to setup a ping test in one of my bash scripts. But *nix pings are continuous which would make the script continue until interrupted with Ctrl+C
How do you specify a certain number of pings to be issued?
***ah!!!
ping -c $IPADDR
nm.. figured it out.. :)