How to see public IP address of outgoing internet traffic when connected via router?
Another quick service is curl ifconfig.me

Add an echo afterwards to complete the line:

curl ifconfig.me &amp;&amp; echo