Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: bash script that pings is not working

From: mark <m.roth2006(at)rcn.com>
Date: Wed Dec 12 2007 - 22:58:37 EST


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

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Received on Wed Dec 12 22:59:32 2007

This archive was generated by hypermail 2.1.8 : Fri May 30 2008 - 14:27:21 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library