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` <center>[Original Post](https://www.cyberciti.biz/faq/how-to-find-my-public-ip-address-from-command-line-on-a-linux/)</center>
author | oneshot |
---|---|
permlink | how-to-find-my-public-ip-address-from-command-line-on-a-linux |
category | linux |
json_metadata | {"tags":["linux","unix","network","cli"],"links":["https://www.cyberciti.biz/faq/how-to-find-my-public-ip-address-from-command-line-on-a-linux/"],"app":"steemit/0.1","format":"markdown"} |
created | 2017-04-24 04:46:06 |
last_update | 2017-04-24 04:46:06 |
depth | 0 |
children | 1 |
last_payout | 2017-05-01 04:46:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.070 HBD |
curator_payout_value | 0.018 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 278 |
author_reputation | 2,618,161,935,301 |
root_title | "How To Find My Public IP Address From Command Line On a Linux" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 3,097,464 |
net_rshares | 367,306,102,870 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
joshbreslauer | 0 | 347,830,896,821 | 80% | ||
ubg | 0 | 14,195,636,821 | 1.11% | ||
seb | 0 | 68,752,626 | 100% | ||
sqube | 0 | 2,986,780,479 | 1% | ||
cathynsons | 0 | 309,860,141 | 1% | ||
francomason | 0 | 104,396,719 | 100% | ||
biblenerd | 0 | 417,940,954 | 100% | ||
kuttmargo | 0 | 63,831,054 | 1.11% | ||
oneshot | 0 | 1,168,684,543 | 100% | ||
warren.buffett | 0 | 159,322,712 | 1.11% |
Also `curl icanhazip.com` :)
author | oholiab |
---|---|
permlink | re-oneshot-how-to-find-my-public-ip-address-from-command-line-on-a-linux-20170426t163702039z |
category | linux |
json_metadata | {"tags":["linux"],"app":"steemit/0.1"} |
created | 2017-04-26 16:37:00 |
last_update | 2017-04-26 16:37:00 |
depth | 1 |
children | 0 |
last_payout | 2017-05-03 16:37:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 28 |
author_reputation | 1,894,810,279,063 |
root_title | "How To Find My Public IP Address From Command Line On a Linux" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 3,122,996 |
net_rshares | 1,192,082,866 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
oneshot | 0 | 1,192,082,866 | 100% |