1ypmatch(1) User Commands ypmatch(1)
2
3
4
6 ypmatch - print the value of one or more keys from a NIS map
7
9 ypmatch [-k] [-t] [-d domain] key [key]... mname
10
11
12 ypmatch -x
13
14
16 ypmatch prints the values associated with one or more keys from the
17 NIS's name services map specified by mname, which may be either a map
18 name or a map nickname.
19
20
21 Multiple keys can be specified; all keys will be searched for in the
22 same map. The keys must be the same case and length. No pattern match‐
23 ing is available. If a key is not matched, a diagnostic message is pro‐
24 duced.
25
27 The following options are supported:
28
29 -k Before printing the value of a key, print the key itself,
30 followed by a colon (:).
31
32
33 -t Inhibit map nickname translation.
34
35
36 -d domain Specify a domain other than the default domain.
37
38
39 -x Display the map nickname table. This lists the nicknames
40 the command knows of, and indicates the map name associ‐
41 ated with each nickname.
42
43
45 The following operand is supported:
46
47 mname The NIS's name services map
48
49
51 The following exit values are returned:
52
53 0 Successful operation.
54
55
56 1 An error occurred.
57
58
60 See attributes(5) for descriptions of the following attributes:
61
62
63
64
65 ┌─────────────────────────────┬─────────────────────────────┐
66 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
67 ├─────────────────────────────┼─────────────────────────────┤
68 │Availability │SUNWnisu │
69 └─────────────────────────────┴─────────────────────────────┘
70
72 ypcat(1), ypfiles(4), attributes(5)
73
75 ypmatch will fail with an RPC error message on yp operation if enough
76 file descriptors are not available. The number of file descriptors
77 should be increased if this occurs.
78
79
80
81SunOS 5.11 22 Aug 1997 ypmatch(1)