ypmatch(1)
NAME
ypmatch − print the value of one or more keys from a NIS map
SYNOPSIS
ypmatch [ −k ] [ −t ] [ −d domain ] key [ key... ] mname
ypmatch −x
DESCRIPTION
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 mapname or a map nickname ( mnames).
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.
OPTIONS
−k Before printing the value of a key, print the key itself, followed by a ‘:’ (colon).
−t This option inhibits map nickname translation.
−d domain Specify a domain other than the default domain.
−x Display the map nickname table. This lists the nicknames (mnames) the command knows of, and indicates the mapname associated with each nickname.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| Availability | SUNWnisu |
SEE ALSO
ypcat(1), ypfiles(4), attributes(5)
SunOS 5.6 — Last change: 14 Sep 1992