>       Nothing pops to mind, but what do you need it for? What's
>       wrong with ifconfig -a ? If the problem is that it's mashed
>       up with a bunch of other stuff, try doing:

Ok, since you ask...! What I want to be able to do is to be connected all 
the time from home. If I disconnect, then I want to be able to reconnect, 
find the current ip-address and mail it to myself. This is because I have 
work spread between here and school and I always want access to both 
machines. Is this stupid or is there a better way to do this. Of course I 
need to read Bash-HOWTO... but that will happen sooner or later :-)

>       ifconfig ppp0 | sed -n 's/.*addr:\([^ ]*\).*/\1/gp'

That works bang on spot! Thanks. 

Thanks,
-Karthik.
-------------------------------------
Whatever you want to do, you have to do something else first.


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to