What's the shortest command I could use to find out my WAN IP?
Asked
Active
Viewed 4,957 times
1 Answers
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

Michael Durrant
- 42,013
curl ifcfg.me
is even shorter. – don_crissti Jan 09 '15 at 01:30