BASH curl

Output Geographical Information Based On IP Address
curl ipinfo.io

Output:

{ "ip": "xxx.xxx.xxx.xxx", "hostname": "username.isp.com", "city": "xxxxxx", "region": "xxxxxx", "country": "xx", "loc": "longitude, latitude", "org": "xxxxxx", "postal": "xxxxxx" }