3

What's the shortest command I could use to find out my WAN IP?

Hauke Laging
  • 90,279

1 Answers1

6

I found:

$ curl ifconfig.me
73.4.164.110

So of course I made an alias

$ alias myip='curl ifconfig.me'
$
$ myip
73.4.164.110