<div dir="ltr"><a href="http://www.whatismyip.org/">http://www.whatismyip.org/</a><br><br><div class="gmail_quote">On Sat, Aug 8, 2009 at 8:56 AM, Steve Litt <span dir="ltr"><<a href="mailto:slitt@troubleshooters.com">slitt@troubleshooters.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Friday 07 August 2009 21:26:08 diksbcseanbcsa wrote:<br>
> Are there web sites that display ONLY the user IP?<br>
> The emphasis here is `only'. <a href="http://checkip.dyndns.org" target="_blank">checkip.dyndns.org</a>, for example, is not<br>
> good enough because it adds some extra html. I am aware to the fact<br>
> that that extra html can be filtered out. google has a long list of<br>
> sites that add much more information.<br>
<br>
</div>If you absolutely can't find anything else, this does just what you want:<br>
<br>
$ myip=$(lynx --dump <a href="http://checkip.dyndns.org" target="_blank">http://checkip.dyndns.org</a> | sed -e "s/.*:\s*//")<br>
$ echo $myip<br>
197.10.280.219<br>
$<br>
<br>
SteveT<br>
<font color="#888888"><br>
Steve Litt<br>
Recession Relief Package<br>
<a href="http://www.recession-relief.US" target="_blank">http://www.recession-relief.US</a><br>
Twitter: <a href="http://www.twitter.com/stevelitt" target="_blank">http://www.twitter.com/stevelitt</a><br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
</div></div></blockquote></div><br></div>