Name

ypwhich

Synopsis

ypwhich [options] [host]

NFS/NIS command. Return hostname of NIS server or map master. Without arguments, ypwhich cites the NIS server for the local machine. If host is specified, that machine is queried to find out which NIS master it is using.

Options

-d domain

Use domain instead of the default domain.

-m [map]

Find master NIS server for a map. No host can be specified with -m. map may be a map name or a nickname for a map. If no map is specified, display a list of available maps.

-t mapname

Inhibit nickname translation.

-Vn

Version of ypbind (default is v2).

-x

Display map nickname table. Do not allow any other options.

Get Linux in a Nutshell, 6th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.