Thanks
Here is version 2 ( see page 182 in Rute manual )
IP=$( /sbin/ifconfig ppp0 | grep inet | cut -d: -f2 | cut -d' ' -f1 )
Col.
Nick Rout wrote:
ifconfig will let you run as a user, if you give the full path to the
binary, usually /sbin/ifconfig. You win't be able to change anthing,
but you can get the info.
On Fri, 31 Jan 2003 19:39:30+1300
Col<[EMAIL PROTECTED]> wrote:
Thanks John and Adrian
I have tried out your examples and discovered that netstat was
giving the P-t-P address not the inet address.
Perl is on my long list of "Things to look into"
Question how does perl allow me to run ifconfig as a user?
TIA
Col.