utils

small programs, scripts and utils
git clone https://git.e1e0.net/utils.git
Log | Files | Refs

geoloc.1 (588B)


      1 .Dd August 3, 2020
      2 .Dt GEOLOC 1
      3 .Os
      4 .Sh NAME
      5 .Nm geoloc
      6 .Nd get geolocation data for IP addresses
      7 .Sh SYNOPSIS
      8 .Nm
      9 .Op Fl v
     10 .Ar ip
     11 .Sh DESCRIPTION
     12 .Nm
     13 uses
     14 .Lk https://ipapi.co/
     15 to get geolocation information about the provided
     16 .Ar ip .
     17 It accepts IPv4 or IPv6 addresses.
     18 .Pp
     19 The options are as follows:
     20 .Bl -tag -width Ds
     21 .It Fl v
     22 Prints version and exists.
     23 .It Ar ip
     24 The ip to look for.
     25 This is mandatory.
     26 .El
     27 .Sh EXIT STATUS
     28 .Ex -std
     29 .Sh AUTHORS
     30 .An Paco Esteban
     31 .Mt paco@e1e0.net
     32 .Sh BUGS
     33 Probably many.
     34 If you find one and want to send a patch, please to so to:
     35 .Mt patches@e1e0.net