1ypwhich(1) User Commands ypwhich(1)
2
3
4
6 ypwhich - return name of NIS server or map master
7
9 ypwhich [-d domain] [ [-t] -m [mname] | [-Vn] hostname]
10
11
12 ypwhich -x
13
14
16 ypwhich returns the name of the NIS server that supplies the NIS name
17 services to a NIS client, or which is the master for a map. If invoked
18 without arguments, it gives the NIS server for the local machine. If
19 hostname is specified, that machine is queried to find out which NIS
20 master it is using.
21
22
23 Refer to ypfiles(4) for an overview of the NIS name services.
24
26 -d domain Use domain instead of the default domain.
27
28
29 -t This option inhibits map nickname translation.
30
31
32 -m mname Find the master NIS server for a map. No hostname can be
33 specified with -m. mname can be a mapname, or a nickname
34 for a map. When mname is omitted, produce a list of avail‐
35 able maps.
36
37
38 -x Display the map nickname translation table.
39
40
41 −Vn Version of ypbind, V3 is default.
42
43
45 See attributes(5) for descriptions of the following attributes:
46
47
48
49
50 ┌─────────────────────────────┬─────────────────────────────┐
51 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
52 ├─────────────────────────────┼─────────────────────────────┤
53 │Availability │SUNWnisu │
54 └─────────────────────────────┴─────────────────────────────┘
55
57 ypfiles(4), attributes(5)
58
59
60
61SunOS 5.11 7 Apr 1995 ypwhich(1)