Skip to content

gip

Usage
gip

Fetches and prints both the public IPv4 and IPv6 addresses using icanhazip.com. Shows “Not detected” for any address that times out.

Exit Status:
0 Always (network failures print "Not detected" instead of failing)
Examples
gip