Put the Bash script on the terminal you will see your public IP address.
echo $(wget -qO - https://api.ipify.org)