Displays internal and external ip addresses
ip [OPTION]
Option | Description |
---|---|
-h, --help | Show help and usage information |
-v, --version | Show version information |
-i, --internal | Show internal ip address only |
-e, --external | Show external ip address only |
- curl
- grep
Note: Dependencies should be standard on Linux and MacOS.