Name

ypwhich

Synopsis

ypwhich [options] [host]

Description

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.

-t mapname

Inhibit nickname translation.

-x

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

Get Linux in a Nutshell, Third 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.