X-Git-Url: http://git.ipfire.org/?p=ipfire.org.git;a=blobdiff_plain;f=src%2Ftemplates%2Flocation%2Fhow-to-use.html;fp=src%2Ftemplates%2Flocation%2Fhow-to-use.html;h=76ba86496988aaeb6846464428eebec4b262d479;hp=975dfc11c6fa3213af4718621c1fb47650ef1e43;hb=6245e3d009f8832c8e44e59d9e890a237ae8f760;hpb=321698738ece2bb7cd1611819a790cad2aa6a74d
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.
$ 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)
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.