On Tue, 17 Dec 2002 00:14:33 -0500
Brian York <[EMAIL PROTECTED]> wrote:

> How can i find out the ip address of a machine that has been assigned an ip
> by DHCP.
> 
> Thanks 
> Brian
> 
> 

something like this:
IPCONF=($(/sbin/ifconfig ppp0)); echo ${IPCONF[5]#*:}
or maybe:
IPCONF=($(/sbin/ifconfig eth0)); echo ${IPCONF[6]#*:}

bye
jipe

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to