display IP address on desktop

Peter Garrett peter.garrett at optusnet.com.au
Sat Jan 20 22:06:05 UTC 2007

On Sat, 20 Jan 2007 16:35:07 -0500
John R Cichy <john at greengator.com> wrote:

> > > More likely whatsmyip.org
> > 
> > Or whatismyip.org  [ with the extra "i"  ;-) ], which gives *only* an IP
> > and requires no parsing.
> Just says 'unknown' here...


 $ links2 -dump http://whatismyip.org
Gives my correct external IP address, (the WAN address of my router) 

Opening it in a browser like firefox gives a plain white page with the
number only, and grabbing it with wget gives a file containing only the IP
address, (no html tags), called, unsurprisingly, "index.html"  ;-)


More information about the ubuntu-users mailing list