1ypwhich(1)                  General Commands Manual                 ypwhich(1)
2
3
4

NAME

6       ypwhich - return name of NIS server or map master
7

SYNOPSIS

9       ypwhich [ -d domain ] [ -Vn ] [ hostname ]
10       ypwhich [ -d domain ] [ -t ] -m [ mname ]
11       ypwhich -x
12

DESCRIPTION

14       ypwhich  returns  the name of the NIS server that supplies the NIS ser‐
15       vices to a NIS client, or which is the master for a  map.   If  invoked
16       without  arguments,  it  gives the NIS server for the local machine. If
17       hostname is specified, that machine is queried to find  out  which  NIS
18       master it is using.
19

OPTIONS

21       -d domain
22              Specify a domain other than the default domain.
23
24       -t     This option inhibits map nickname translation.
25
26       -m mname
27              Find the master NIS server for a map.  No hostname can be speci‐
28              fied with the -m option.  mname can be a mapname or nickname for
29              a  map.   If  mname  is  omitted, ypwhich will produce a list of
30              available maps.
31
32       -x     Display the map nickname translation table.
33
34       -Vn    Version of ypbind(8), V2 is default.
35
36

FILES

38       /var/yp/nicknames
39              map nickname translation table.
40

SEE ALSO

42       domainname(8),   nicknames(5),   ypbind(8),    ypcat(1),    ypmatch(1),
43       yppoll(8), ypserv(8), yset(8)
44

AUTHOR

46       ypwhich  is part of the yp-tools package, which was written by Thorsten
47       Kukuk <kukuk@thkukuk.de>.
48
49
50
51YP Tools 2.11                    January 2007                       ypwhich(1)
Impressum