How To Find My Public IP Address From Command Line On a Mac OS
22 December 2018
Run the following command in the terminal:
dig +short myip.opendns.com @resolver1.opendns.com
Run the following command in the terminal:
dig +short myip.opendns.com @resolver1.opendns.com