ypmatch(1) manual page
Table of Contents
ypmatch - print the value of one or more keys from a NIS map
ypmatch
[ -k ] [ -t ] [ -d domain ] key [ key... ] mname
ypmatch -x
SUNWnisu
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.
- -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.
ypcat(1)
, ypfiles(4)
Table of Contents