On Fri, 21 May 1999, Bogdan Taru wrote:

> 
>       Hi,
>  Is there a Unix utility which checks if a connection is up, and returns
> an easy to interpret answer(like 1 or 0, preferably...)? If so, which one
> (yes, I know, most of you will think of 'ping'...)?

test -n "`ifconfig | grep ppp0`" 
OK, it's not a single utility, but you could make it an alias.

Frank

> 
> Have fun,
> bogdan
> 
> 

Reply via email to