Warning: Undefined array key "HTTP_ACCEPT_LANGUAGE" in /usr/local/www/showthisip.com/cli-instructions.php on line 1

Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /usr/local/www/showthisip.com/cli-instructions.php on line 1
Your IP Address - showthisip.com

How to get your IP from the command line

fetch

fetch -qo - "http://showthisip.com/?simple"

wget

wget -qO - "http://showthisip.com/?simple"

cURL

curl -qo - "http://showthisip.com/?simple"