ypmatch(1) — USER COMMANDS
NAME
ypmatch − print the value of one or more keys from the NIS map
SYNOPSIS
ypmatch [ −d ypdomain ] [ −t ] [ −k ] key [ key... ] mname
ypmatch [ −x ]
DESCRIPTION
ypmatch prints the values associated with one or more keys from the NIS name services map specified by mname, which may be either a mapname or a map nickname.
Multiple keys can be specified; the same map will be searched for all keys. The keys must be exact values insofar as capitalization and length are concerned. No pattern matching is available. If a key is not matched, a diagnostic message is produced.
The following options are available:
−d ypdomain Specify a domain other than the default domain.
−k Before printing the value of a key, print the key itself, followed by a colon (“:”). This is useful only if the keys are not duplicated in the values, or so many keys were specified that the output could be confusing.
−t Inhibit map nickname translation.
-x Dump the map nickname translation table.
SEE ALSO
ypcat(1), ypfiles(4), Network Information Service Administration guide
NOTE
NIS package should be installed to be able to use the nickname features.