os/Linux
2020. 5. 12. 12:30
https://www.cyberciti.biz/faq/how-to-find-my-public-ip-address-from-command-line-on-a-linux/
How To Find My Public IP Address From Command Line On a Linux - nixCraft
Explains how to find my public IP address using the dig and host command line options on a Linux operating systems.
www.cyberciti.biz
| You can also use the Google server to get the same info using dig command: dig TXT +short o-o.myaddr.l.google.com @ns1.google.com | awk -F'"' '{ print $2}' |
'os > Linux' 카테고리의 다른 글
| python 버젼별(v2, v3)설치후 디폴트버젼선택하기 (0) | 2020.07.29 |
|---|---|
| How to check Disk usage and CPU/memory usage (0) | 2020.05.19 |
| Ubuntu, Linux - custom installation (1) | 2019.04.26 |
| how-to-add-startup-applications-in-lubuntu (0) | 2018.06.09 |
| changing-network-interfaces-name-ubuntu-16-04 (0) | 2018.06.09 |
