BSD 2.11 - man page for htable (bsd section 8)

Linux & Unix Commands - Search Man Pages

Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

HTABLE(8)										HTABLE(8)

       htable - convert NIC standard format host tables

       /etc/htable [ -c connected-nets ] [ -l local-nets ] file

       Htable  is  used  to convert host files in the format specified in Internet RFC 810 to the
       format used by the network library routines.  Three files are created as a result of  run-
       ning  htable: hosts, networks, and gateways.  The hosts file may be used by the gethostby-
       name(3N) routines in mapping host names to addresses if the nameserver, named(8),  is  not
       used.  The networks file is used by the getnetent(3N) routines in mapping network names to
       numbers.  The gateways file may be used by the routing daemon in  identifying  ``passive''
       Internet gateways; see routed(8C) for an explanation.

       If any of the files localhosts, localnetworks, or localgateways are present in the current
       directory, the file's contents is prepended to the output file.	Of these, only the  gate-
       ways  file  is interpreted.  This allows sites to maintain local aliases and entries which
       are not normally present in the master database.  Only one gateway to each network will be
       placed  in the gateways file; a gateway listed in the localgateways file will override any
       in the input file.

       If the gateways file is to be used, a list of networks to which the host is directly  con-
       nected  is specified with the -c flag.  The networks, separated by commas, may be given by
       name or	in  Internet-standard  dot  notation,  e.g.   -c  arpanet,128.32,local-ether-net.
       Htable  only  includes gateways which are directly connected to one of the networks speci-
       fied, or which can be reached from another gateway on a connected net.

       If the -l option is given with a list of networks (in the same format as  for  -c),  these
       networks  will  be  treated as ``local,'' and information about hosts on local networks is
       taken only from the localhosts file.  Entries for local hosts from the main database  will
       be  omitted.   This  allows  the localhosts file to completely override any entries in the
       input file.

       Htable is best used in conjunction with the gettable(8C) program which retrieves  the  NIC
       database from a host.

       intro(3N), gettable(8C), named(8)

       If  the name-domain system provided network name mapping well as host name mapping, htable
       would no longer be needed.

4.2 Berkeley Distribution		   May 22, 1986 				HTABLE(8)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 12:35 AM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.
Show Password

Not a Forum Member?
Forgot Password?