Get IP address from Terminal

curl ifconfig.co