YPWHICH(1) BSD Reference Manual YPWHICH(1)NAMEypwhich - return hostname of YP/NIS server or map master
SYNOPSISypwhich [-t] [-d domainname] [-m [mname]] [hostname]
ypwhich-x
DESCRIPTION
The ypwhich utility displays the name of the YP/NIS server for the cur-
rent host, or, if hostname is specified, that host.
The options are as follows:
-d domainname
Specify a domain other than the default domain.
-m Display the master YP/NIS server for the specified map or map
nickname mname. If no map or map nickname is specified, a list of
the possible maps is displayed. The hostname argument may not be
specified with the -m option.
-t Inhibit translation of map nicknames to their corresponding map
names.
-x Display the map nickname table.
SEE ALSOypcat(1), ypmatch(1)BSDI BSD/OS July 8, 1996 1