• GNU/Linuxgnulinux GNU/Linux
  • 3 years ago

Use:

dig -4 TXT +short o-o.myaddr.l.google.com @ns1.google.com

Or:

ipconfig getifaddr en0