To get just the IP address of your Internet facing Linux machine, use this command. [email protected]:~/Documents/ipinfo/src$ curl [email protected]:~/Documents/ipinfo/src$ curl icanhazip.com This will return just your IP address. This is another way to get this information. [email protected]:~/Documents$ curl [email protected]:~/Documents$ curl ipinfo.io/ip To get information about a DNS server, use the dig command. [email protected]:~/Documents/ipinfo/src$ dig 8.8.8.8   …

The curl command on Linux may be used to get weather information from the Internet. The curl wttr.in/”new york” command will retrieve weather information from wttr.in. [[email protected]:~] curl wttr.in/"new york" Weather for City: New York, United States of America   \ / Clear .-. 6 – 8 °C ― ( ) ― ↓ 9 km/h …

How to get the geographical location of an IP address. This simple command will get this for you. [[email protected]:~] curl ipinfo.io/203.113.124.148 ; echo "" { "ip": "203.113.124.148", "hostname": "No Hostname", "city": "", "region": "", "country": "TH", "loc": "13.7500,100.4667", "org": "AS9737 TOT Public Company Limited" }[[email protected]:~] curl ipinfo.io/203.113.124.148 ; echo "" { "ip": "203.113.124.148", "hostname": "No …

This is how to get the weather report for any American zip code with the Linux command-line. Type sudo apt-get install weather-util to install this utility on Linux Mint 14. In this example we are checking New York City. [email protected] ~ $ weather 10001 Current conditions at New York City Central Park, NY Last updated …