GeoIP Script is a simple and effective shell script that allows you to determine the geographical location of a given IP address or domain. It leverages the geoiplookup
utility to return relevant information such as country, region, and city in a lightweight, command-line format.
This tool was developed as part of early experimentation with shell scripting on Linux systems.
- β Debian 10
- β Ubuntu 20.04
bash
shellgeoip-bin
orgeoiplookup
installed:
sudo apt install geoip-bin
sudo chmod +x geoip.sh
./geoip.sh
Follow the prompts to enter an IP address or domain name.
This project is licensed under the MIT License.
Gustavo FalcΓ£o
GitHub @gustavofalcao1
Project Repository