How to identify your own public IP address on Ubuntu?

1. Install Curl

Ubuntu: sudo apt-get install curl

openSUSE: sudo zypper install curl

2. In a terminal, run

curl ifconfig.me

3. Your public IP should be returned.

Advertisements