There is a lot of services that will print public IP like ipgive.me. Using curl or wget you can easily print your current public IP on the terminal.
curl ipgive.me
wget -q -O- ipgive.me
There is a lot of services that will print public IP like ipgive.me. Using curl or wget you can easily print your current public IP on the terminal.
curl ipgive.me
wget -q -O- ipgive.me