Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Neat script! On a related note and something I use more frequently : curl ifconfig.me

Easy way to find the public IP :)



Shameless plug: curl ipaddy.net

Returns public IP address, ISO country code, User-Agent string, and a new line (to ensure the terminal prompt doesn't get shifted after displaying the response).[0][1]

- [0] https://use.ipaddy.net - [1] https://github.com/oedmarap/ipaddy



I use icanhazip.com




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: