gip6
Synopsis
Section titled “Synopsis”gip6Description
Section titled “Description”Fetches and prints the machine’s public IPv6 address using icanhazip.com. Prints an error message if IPv6 is unavailable on the current network.
Exit Status
Section titled “Exit Status”0 |
IPv6 address resolved |
1 |
IPv6 unavailable or not supported on this network |
Returns
Section titled “Returns”The machine’s public IPv6 address, printed to stdout
Example
Section titled “Example”gip6Dependencies: curl
Classification: network