With this tutorial we have been able to verify how to get the IP address, whether public or private, it is very easy, requires little knowledge and also is not a task that takes us a long time. Once we have curl installed, we run the following in the terminal: curl Īnother option to obtain the same information is by executing the following command: wget -qO- /ip We went to get the public IP address, we also have several ways, let’s see some.įor the first option that we propose we will need curl, if you do not have it installed, execute the following command: sudo apt-get install curl Use it with Ubuntu, Fedora, Kali and many others it's very easy to set up and use. You can also get this information in a graphical way, you can go to “System settings” or “Settings” and go to Network, you will see something similar to the following image: Our VPN app for Linux is perfect for users who want to protect their online privacy. We can appreciate that our IPv4 address is 192.168.0.104. And that just below this address we have Inet6 address, for IPv6. The interface refers to localhost.Īnother possibility that we have is to execute the following command: ip route ![]() ![]() Next, we leave a capture of the output of the command: The first sure that almost everyone knows, we execute the following command: ifconfig
0 Comments
Leave a Reply. |