From: Michael Tremer Date: Mon, 8 Jun 2020 14:38:38 +0000 (+0000) Subject: location: location-query(8) has been renamed to location(8) X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6245e3d009f8832c8e44e59d9e890a237ae8f760;p=ipfire.org.git location: location-query(8) has been renamed to location(8) Signed-off-by: Michael Tremer --- diff --git a/src/templates/location/how-to-use.html b/src/templates/location/how-to-use.html index 975dfc11..76ba8649 100644 --- a/src/templates/location/how-to-use.html +++ b/src/templates/location/how-to-use.html @@ -33,7 +33,7 @@ libloc comes with a command line tool which makes it easy to test the library or integrate it into your shell scripts. - location-query(8) knows a couple of commands + location(8) knows a couple of commands to retrieve country or Autonomous System of an IP address and can generate lists of networks to be imported into other software. @@ -41,11 +41,11 @@

Although this is not the fastest way to lookup a large number - of IP addresses, location-query(8) is versatile + of IP addresses, location(8) is versatile and very easy to use.

- + {{ _("Man Page") }} @@ -55,12 +55,12 @@
{{ _("Search for an Autonomous System by Name") }}
-
$ location-query search-as "Lightning Wire Labs"
+					
$ location search-as "Lightning Wire Labs"
 AS204867 (Lightning Wire Labs GmbH)
{{ _("Lookup an IP Address") }}
-
$ location-query -d test.db lookup 81.3.27.38
+					
$ location -d test.db lookup 81.3.27.38
 81.3.27.38 belongs to 81.3.27.0/24 which is a part of AS24679 (Hostway Deutschland GmbH)
@@ -81,8 +81,8 @@ AS204867 (Lightning Wire Labs GmbH)

libloc comes with native Python bindings which are used by its main command-line tool - - location-query + + location . They are the most advanced bindings as they support reading from the database as well as writing to it.