How to Find Your Public IP Address via Terminal on Ubuntu 18.04 LTS Using Curl?

2019-09-02 11

How to Find Your Public IP Address via Terminal on Ubuntu 18.04 LTS Using Curl?

What is Public IP Address?

A public IP address is an IP adress that can be accessed over the internet. It is assigned to a computing device when it connects to the internet. It is the IP Address that your ISP provides to your computer.

Step 1: Open Terminal.

Step 2: Install curl if you don't have it installed by command below:-

sudo apt install curl

Step 3: Now, to get your Public IP Address, you can use any of the commands below:-

curl ifconfig.me

or

curl icanhazip.com

or

curl ipecho.net/plain; echo


Thanks for watching, please like and subscribe

==============================================

https://www.facebook.com/HowtoTutorialsByAmit/

Free Traffic Exchange