[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: bash script that pings is not working



Anne Moore wrote:
HI All, can anyone help with this bash script? #!/bin/bash

while [ 1 ] do
ping some.ip.com
sleep 60 done

# end of script

It's not really working like I need it to be. I'm trying to add this to
<snip>
One thing you should be aware of is that ping will keep going forever, unless you tell it ping -c 1 (or whatever)).

	mark



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]