On Apr 27, 06:15:36 PM (Friday), or Thereabouts, Faisal wrote:
>> ifconfig ppp0 | grep inet\ | tr -s " " | cut -d" " -f3 | cut -d":" -f2 >
>> /tmp/ip
>>
>> (please tweak the above till you get just the ip address...)
>>
`/sbin/ifconfig ppp0 | grep 'inet addr' | awk '{print $2}' | sed -e 's/.*://'`
Regards,
---------------------------------------------------------------
Ravi Ananth Giri K. r a v i g i r i @ i s h o n i . c o m
h t t p : / / w w w . g e o c i t i e s . c o m / r a v i a g k
---------------------------------------------------------------
f i n g e r - r a v i g i r i @ c y b e r s p a c e . o r g
----------------------------------------------
Find out more about this and other Linux India
mailing lists at http://lists.linux-india.org/