The command in the console to find your IP and GEO data?

Which command/package you can use to check in the console your IP address and location, kinda like the sites "What is my IP"?
June 10th 19 at 16:25
2 answers
June 10th 19 at 16:27
Solution
wget https://ipinfo.io -qO-
Great, service thanks! There is something? Tipo MaxMind - elliott.Cartwrig commented on June 10th 19 at 16:30
June 10th 19 at 16:29
Hi,
ifconfig is to determine the IP.
What is geo data, latitude and longitude, city, country?
I noen local IP, I'm on an external IP provider. - elliott.Cartwrig commented on June 10th 19 at 16:32
curl ifconfig.co - elliott.Cartwrig commented on June 10th 19 at 16:35
, geodatabase is not present, only IPS - Collin_Gutmann commented on June 10th 19 at 16:38

Find more questions by tags UbuntuLinux