in reply to Re: get default gateway
in thread get default gateway

remember that with route, ifconfig and so, unless you are root, you need the path. it's not a bad idea to use the path with this sort of app in any case.

Replies are listed 'Best First'.
Re^3: get default gateway
by Fletch (Bishop) on Feb 10, 2006 at 02:20 UTC

    Actually unless you have /sbin in PATH you should use the full path.</pedant>

      Thank you to all for your help, very kind - code pointers and others have enlightened me. Many thanks, Rob.