How To: Mac Find IP Address Terminal

How To: Mac Find IP Address Terminal

When we need to find our Internet (external) IP address, we like to open our favorite web browser and simply type into Google my ip address. Sure enough, Google never fails us with the correct results.

Google what is my ip address

So is there a quicker and more efficient way to find out the public IP address your computer is sitting behind? You can use Terminal to find out your external IP address quickly.

 

1. Open Terminal Applications -> Utilities -> Terminal





2. We will use curl ifconfig.me command to output our Mac’s external IP Address. Ifconfig.me is a service that displays information about your Mac’s network connections settings.

3. Type the following command in Terminal to reveal your external IP Address.

curl ifconfig.me

4. Your IP Address will display in Terminal. For all output of ifconfig.me, type the following command.

curl ifconfig.me/all

Mac terminal ifconfig.me all

 

Now you know of a new clever way to get your Mac’s external IP Address!

* Please use the comment form below. Comments are moderated.*



Related Posts

 

Comments

No comments made yet. Be the first to submit a comment
Wednesday, 25 December 2024