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
Re:Curl Wttr.in
by igor_chubin on Friday June 26, 2020 @09:14AM
(#23651580)
I hoe it is listed at https://github.com/chubin/awesome-console-services
Easy way to find the public IP :)