mkhpath man page on Knoppix

Man page or keyword search:  
man Server   3132 pages
apropos Keyword Search (all sections)
Output format
Knoppix logo
[printable version]

MKHPATH(8)			     Local			    MKHPATH(8)

NAME
       mkhpath - produce path data from an /etc/hosts file

SYNOPSIS
       /usr/lib/smail/mkhpath [ -n netname ] [ -c cost ] [ -g gateway ] [ -d ]
       [ - | filename ]

DESCRIPTION
       Mkhpath takes as input a hosts file, in the format of the  4.3BSD  file
       /etc/hosts,  and	 creates  path	data  suitable	for  use by a smail(8)
       pathalias router (see smail(5) for information on routers).  The output
       is  also	 suitable  for merging in with the output of pathalias(8), and
       can be made suitable as input to pathalias.

       The hostnames localhost and loghost are	ignored,  as  are  any	domain
       names (names containing dot characters).

       This  command  is useful for sending information about a network's con‐
       nectivity to hosts that are not on that network.	 As  a	general	 rule,
       the smail gethostbyname router driver precludes the need for this tool.

OPTIONS
       The following options are recognized by mkhpath:

       -n netname
	      Generate	output which is suitable as input to pathalias(8) as a
	      description of an interconnected network named netname  connect‐
	      ing together all hosts named in the hosts file.

       -c cost
	      Set  the	cost for the network gateway to cost.  This may be any
	      valid pathalias cost expression and is only useful with  the  -n
	      option.

       -g gateway
	      Set  the gateway for all of the hosts in the hosts file to gate‐
	      way.  This can be used either with or without the -n option.  If
	      neither  -g  nor	-n are used, then the local host is assumed to
	      connect to all of the hosts directly.

       -d     Only use lines that contain a domain name (i.e., a name contain‐
	      ing  one	or  more  dots)	 as one of the names for a host.  Such
	      domain names are not used themselves, but lines that do not con‐
	      tain any domain names are ignored.

       If  a filename argument is used, then the host information is read from
       this file.  If an argument of - is specified instead, then the standard
       input  is  used.	  Otherwise the file /etc/hosts is used to obtain host
       information.

SEE ALSO
       pathalias(8), smail(5), smail(8), mkpath(8), and pathmerge(8).

COPYRIGHT
       Copyright (C) 1987, 1988 Ronald S. Karr and Landon Curt Noll
       Copyright (C) 1992 Ronald S. Karr

       See a file COPYING, distributed with the source	code,  or  type	 smail
       -bc,  to view distribution rights and restrictions associated with this
       software.

Smail-3			       RELEASE-3_2_0_115		    MKHPATH(8)
[top]

List of man pages available for Knoppix

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net