I'm trying to get my ppp ip address from this script

PPP_DEV="ppp0"
/sbin/ifconfig |grep -A $PPP_DEV\| awk '/inet/{print$2}'| sed -es/addr://

it gives me the local and the ppp0.  I wanted to use it to put my ip
address in my page which then friends could check out my web pages on my
system rather than efn"s.  I have appache going on my system here at home.
I did a search on ip extracting and found very little on it.

Tim

Reply via email to