ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



YPWHICH(1)                BSD General Commands Manual               YPWHICH(1)

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

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

DESCRIPTION
     Ypmatch 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 nickname.  If mname is ommitted, ypwhich will produce a list of
             available maps.

     -x      Display the map nickname table.

SEE ALSO
     ypset(8), yp(8)

AUTHOR
     Theo De Raadt

BSD                            February 23, 1994                           BSD

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.