Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
YPWHICH(1)		FreeBSD	General	Commands Manual		    YPWHICH(1)

NAME
     ypwhich --	return hostname	of YP server of	map master

SYNOPSIS
     ypwhich [-d domain] [[-t] -m [mname] | host]
     ypwhich -x

DESCRIPTION
     The ypwhich utility tells which YP	server supplies	YP services to a
     client, or	which is the master for	a map.	If invoked without arguments,
     it	gives the YP server for	the local machine.  If host is specified, that
     machine is	queried	to find	out which YP server it is using.

     The options are as	follows:

     -d	domain
	     Specify a domain other than the default domain.

     -t	     Inhibit translation of map	nicknames to their corresponding map
	     names.

     -m	[mname]
	     Find the master YP	server for the named map.  No host may be
	     specified with the	-m option.  Mname can be a map name or nick-
	     name.  If mname is	omitted, ypwhich will produce a	list of	avail-
	     able maps.

     -x	     Display the map nickname table.

SEE ALSO
     domainname(1), ypcat(1), ypmatch(1), yp(8), ypbind(8), yppoll(8),
     ypset(8)

AUTHORS
     Theo De Raadt

FreeBSD	10.1		       February	23, 1994		  FreeBSD 10.1

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=ypwhich&sektion=1&manpath=FreeBSD+6.1-RELEASE>

home | help