make the file executable (required only once):
chmod +x ip.sh

Install jq (json parser) if not available
sudo apt-get install jq

check your ip address
./ip
