There are a ton of places on the internet where you can check the public-facing IP for the device you are using. I've used plenty of them, but I've always wanted one that just returned text. You can get pretty close with checkip.dyndns.org, but there is still HTML in the output:
$ curl checkip.dyndns.org <html><head><title>Current IP Check</title></head><body>Current IP Address: 174.143.240.31</body></html>
I wanted something simpler, so I set up icanhazip.com:
$ curl icanhazip.com 174.143.240.31

curl whatismyip.org
Yeah but this one has a cute favicon.. LOL. No really though, periodically the .org will take forever to load, so an alternative is nice. If I can remember the URL =P
whatismyip.org is iffy for me at times, so this is a nice alternative.
thanks for the post, i didn't know how to check my IP, and the post and the other commets have been very helpful! i'll keep reading!
This is great! I'm using it (from my scripts) almost every day
Nice, good to have an alternative to whatismyip.org.
Really nice idea!
Thank you!