On Thu, Feb 19, 2009 at 02:02:36PM +0100, Tanco . wrote: > Hi Hugo, > > this will give you the IP :) > > ifconfig ppp0 | grep "inet addr:" | awk '{ print $2}' | tail -c14 ifconfig ppp0 | awk '/inet addr:/{ print $2}' | cut -d: -f2 -- Tzafrir Cohen | tzafrir@jabber.org | VIM is http://tzafrir.org.il | | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849754 | | friend