Linux get external IP from command line.

Since most of the ‘what is my ip’ address sites have been making constant changes to prevent wget and curl access, essentially so they can drive traffic to their site for higher ad revenue, I needed an alternative.

So without further adieu, feel free to curl, wget the following address to get your external IP address from the CLI.

curl vigeek.net/extip.php 

Leave a Reply

What is 9 + 14 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)