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
AVAILABILITY
SUNWnisu
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.
SEE ALSO
Sun Microsystems — Last change: 14 Sep 1992