Originally Posted by firoz018
if you needed your pc or other devices ip address then you can visit whatismyip.com site.
I keep this script handy to find my IP address, saved as ~/bin/myip
echo "$(wget -o/dev/null -O- http://queryip.net/ip/)"
doesn't give any extraneous html or ads--just the text of your IP.
I also run a cron job that tests my current IP address and, if it's changed, uploads it in a small text file so I can always remotely find my home IP address without publishing it in DNS.