Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Find an Airport Extreme's WAN address in Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Find an Airport Extreme's WAN address in Terminal
Authored by: jcheshire on Dec 31, '09 06:28:33AM
Or, simpler still if you know that your connection is alive:
$ curl whatismyip.akamai.com

I usually include an empty echo at the end for the newline. Like this:
$ curl whatismyip.akamai.com; echo

It returns nothing but your IP after the standard headers. No need to parse HTML or the like.

[ Reply to This | # ]