How to Get Public IP from Terminal on Linux Ubuntu
Channel:
Subscribers:
14,000
Published on ● Video Link: https://www.youtube.com/watch?v=xyNT--6n2qE
In this video we're going to learn how to retrieve the public IP address of your Linux Ubuntu 22.04 machine right from the terminal. Knowing your public IP can be useful for various networking tasks, such as setting up a server, accessing remote services, or troubleshooting connectivity issues.
Commands
dig +short myip.opendns.com @resolver1.opendns.com
host myip.opendns.com resolver1.opendns.com
Other Videos By ZacsTech
Tags:
Linux
ip address
public ip address
public ip
how to
how
public ip from terminal
ubuntu
how to check your ip address
how to know my public ip through terminal
how to know my public ip address
how to get your public ip address via terminal
how to get
how to ger your ip
terminal
linux terminal
linux tutorial