• Sign in
  • Sign up 
  • Welcome
  • FAQ
  • Block Explorer 
  • Night Mode
  • Stolen Accounts Recovery 
  • Change Account Password 
  • Vote for Witnesses 
  • Hive Proposals 
  • OpenHive Chat 
  • Developer Portal 
  • Hive Whitepaper 
  • Privacy Policy
  • Terms of Service
logo
  • Posts
  • Proposals
  • Witnesses
  • Our dApps
LoginSign up

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

oneshot (55)in #linux • 8 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

#unix #network #cli
8 years ago in #linux by oneshot (55)
$0.09
  • Past Payouts $0.09
  • - Author $0.07
  • - Curators $0.02
10 votes
  • joshbreslauer: $0.08
  • ubg: $0.00
  • sqube: $0.00
  • oneshot: $0.00
  • biblenerd: $0.00
  • cathynsons: $0.00
  • warren.buffett: $0.00
  • francomason: $0.00
  • seb: $0.00
  • kuttmargo: $0.00
Reply 1
Sort:  
  • Trending
    • Trending
    • Votes
    • Age
  • [-]
    oholiab (54)
     8 years ago  

    Also curl icanhazip.com :)

    $0.00
      1 vote
      • oneshot
      Reply