How To Find My Public IP Address From Command Line On a Linux

in #linux7 years ago

One of these two commands do the job:
$ dig +short myip.opendns.com @resolver1.opendns.com
$ dig TXT +short o-o.myaddr.l.google.com @ns1.google.com

Original Post

Coin Marketplace

STEEM 0.18
TRX 0.14
JST 0.030
BTC 58802.33
ETH 3158.99
USDT 1.00
SBD 2.42