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

in #linux6 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.05
JST 0.022
BTC 16977.44
ETH 1270.60
USDT 1.00
SBD 2.15