Skip to content

GeoIP Script is a simple and effective shell script that allows you to determine the geographical location of a given IP address or domain

Notifications You must be signed in to change notification settings

gustavofalcao1/geoip-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🌍 GeoIP Lookup Script

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.


πŸ› οΈ Tested Environments

  • βœ… Debian 10
  • βœ… Ubuntu 20.04

βš™οΈ Requirements

  • bash shell
  • geoip-bin or geoiplookup installed:
sudo apt install geoip-bin

πŸš€ Usage

1. Grant Execution Permission

sudo chmod +x geoip.sh

2. Run the Script

./geoip.sh

Follow the prompts to enter an IP address or domain name.


πŸ“„ License

This project is licensed under the MIT License.


πŸ‘€ Author

Gustavo FalcΓ£o
GitHub @gustavofalcao1
Project Repository


About

GeoIP Script is a simple and effective shell script that allows you to determine the geographical location of a given IP address or domain

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages