On Wed, 26 Jul 2000, David Elliott wrote: > Easy in bash: > if /sbin/route -n | grep "^0.0.0.0" > then > echo "Nothin' but 'net" > else > echo "Please connect to the 'net" > fi Sorry, not all the world is Linux: gomeisa[53]:~% /sbin/route -n ; uname -rs /sbin/route: Command not found. SunOS 5.6 taygeta[44]:~% /sbin/route -n ; uname -rs usage: route [-dnqtv] command [[modifiers] args] FreeBSD 4.0-RELEASE Gerald -- Gerald "Jerry" [EMAIL PROTECTED] http://www.dbai.tuwien.ac.at/~pfeifer/ Have a look at http://petition.eurolinux.org -- it's not about Linux, BTW!
- Re: InternetCheckConnection Andreas Mohr
- RE: InternetCheckConnection Stephane Lussier
- Re: InternetCheckConnection David Elliott
- Re: InternetCheckConnection Gerald Pfeifer
- Re: InternetCheckConnection David Elliott
- Re: InternetCheckConnection Gerald Pfeifer
- Re: InternetCheckConnection Marcus Meissner
- Re: InternetCheckConnection Bertho Stultiens
- Re: InternetCheckConnection Gerald Pfeifer
- Re: InternetCheckConnection Andreas Mohr
- Re: InternetCheckConnection Aric Stewart
- Re: InternetCheckConnection Alexandre Julliard
- Re: InternetCheckConnecti... David Elliott
- RE: InternetCheckConnection Patrik Stridvall