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"