Find Your Public IP Address in Linux

Many times you might wonder how to find the public IP of your server using the console. Here below few options

curl https://icanhazip.com/
curl ifconfig.me
curl -s http://tnx.nl/ip
curl -s https://checkip.amazonaws.com
curl -s api.infoip.io/ip
wget -O - -q https://icanhazip.com/