Skip to content

FriendlyGecko/whereami

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Where Am I

Get your location info in CLI

query source: http://ip-api.com/json/

Installation: bash installw.sh or

sudo chmod u+x whereami

sudo chmod 777 whereami

sudo cp whereami /usr/bin/whereami

Usage Info

whereami -h

Usage: run whereami without parameter

or run whereami with parameter

parameters: city, country, ip, isp, latitude, longitude

Usage: whereami [city, --city] [country, --country] 
        [ip, --ip] [isp, --isp] [latitude, --lat] 
        [longitude, --lon] [help, -help, --help, --h, -h]

city: get your city
country: get your country
ip: get your ip adress
isp: get your ISP
latitude: get latitude
longitude: get longitude

query source: http://ip-api.com/json/

About

CLI Where Am I Script with Bash

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages