curl for public IP address Posted on January 12, 2017 - March 7, 2017 by elijah curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'