JP Vossen on 13 Mar 2014 22:09:05 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] GeoIP from the CLI

Lots of great tips in this blog, like:

Method 1:
$ sudo apt-get install geoip-bin

### The default installation of geoiplookup comes with GeoIP.dat database file which is located in /usr/share/GeoIP. With this database, you can look up the country information only.
$ geoiplookup

Method 2:
$ curl

Related, with no argument you get your external IP!

(Paul, these would fit well into your CLI slides.)

JP Vossen, CISSP            |:::======|
My Account, My Opinions     |=========|
"Microsoft Tax" = the additional hardware & yearly fees for the add-on
software required to protect Windows from its own poorly designed and
implemented self, while the overhead incidentally flattens Moore's Law.
Philadelphia Linux Users Group         --
Announcements -
General Discussion  --