YPMATCH(1) | User Commands | YPMATCH(1) |
ypmatch - print the value of one or more keys from a NIS map
ypmatch [-k] [-t] [-d domain] key [key]... mname
ypmatch -x
ypmatch prints the values associated with one or more keys from the NIS's name services map specified by mname, which may be either a map name or a map nickname.
Multiple keys can be specified; all keys will be searched for in the same map. The keys must be the same case and length. No pattern matching is available. If a key is not matched, a diagnostic message is produced.
The following options are supported:
-k
-t
-d domain
-x
The following operand is supported:
mname
The following exit values are returned:
0
1
ypmatch will fail with an RPC error message on yp operation if enough file descriptors are not available. The number of file descriptors should be increased if this occurs.
August 22, 1997 | OmniOS |