On Thu, 2005-04-14 at 10:06 -0600, Nicholas Leippe wrote:
> ping -c 1 <some ip> >/dev/null
> if [ $? = 0 ]; then # ok
>     ...
> else
>     ...
> fi

That's what I needed.... thanks!

-Dan

.===================================.
| This has been a P.L.U.G. mailing. |
|      Don't Fear the Penguin.      |
|  IRC: #utah at irc.freenode.net   |
`==================================='

Reply via email to