Date created: Monday, June 19, 2023 5:32:32 PM. Last modified: Monday, October 14, 2024 2:35:04 PM
Get IP on CLI
Via this site:
$ curl ipv4.53bits.co.uk
192.0.2.1
$ curl ipv6.53bits.co.uk
2001:db8::
Via CloudFlare CDN trace (add /cdn-cgi/trace to any website behind CloudFlare):
$ curl -s https://medium.com/cdn-cgi/trace | grep "ip=" | cut -d "=" -f 2
2001:db8::
curl -4 https://ifconfig.co/
curl -6 https://ifconfig.co/
Previous page: 'find' - Notes
Next page: HTTP Servers