Lurker News

Comments (122) 29 threads

Show all comments

Showing thread 26 of 29

lemcoe94 replies#
Another shameless plug for my website, you can use ipkitten.com to get your public IP address from your terminal:

  $ curl ipkitten.com
  27.44.144.144
And if you visit it in a browser, you get your IP address and a kitten GIF!:

https://ipkitten.com

nullindividual1 reply#
icanhazip.com is another service which does this.
jachee4 replies#
And the easy-to-remember-for-Unix-nerds:

    ifconfig.me/ip
LargoLasskhyfv1 reply#
v6! Yay!

Continue this thread — 1 reply

fragmede#
if you use curl it'll do user agent detection and just give you your ip

    curl ifconfig.me
peddling-brink#
Or ifconfig.co
varenc1 reply#
I love using ipinfo.com for the extra details it provides like hostname, ISP, ASN, etc.

   $ curl ipinfo.io/json
or you can look up these details for any other IP:

   $ curl ipinfo.io/18.18.18.18
reincoder#
We have a CLI as well: https://github.com/ipinfo/cli

It has a ton of bells and whistles, including summarize IPs, bulk enrichment, grepip, and a ton of network-related tools. I was writing a series of blog posts on the CLI, but I think the series got too long and left users to discover the features of the CLI on their own.

xinayder#
there's https://myip.wtf or wtfismyip.com which provides a strongly worded interface. You can also check which headers your browser is sending to the website.