Web sites that display ONLY the client IP.
Steve Litt
slitt at troubleshooters.com
Sat Aug 8 08:56:40 IDT 2009
On Friday 07 August 2009 21:26:08 diksbcseanbcsa wrote:
> Are there web sites that display ONLY the user IP?
> The emphasis here is `only'. checkip.dyndns.org, for example, is not
> good enough because it adds some extra html. I am aware to the fact
> that that extra html can be filtered out. google has a long list of
> sites that add much more information.
If you absolutely can't find anything else, this does just what you want:
$ myip=$(lynx --dump http://checkip.dyndns.org | sed -e "s/.*:\s*//")
$ echo $myip
197.10.280.219
$
SteveT
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt
More information about the Linux-il
mailing list