ypmatch(1)ypmatch(1)NAMEypmatch - print values of selected keys in Network Information Service
map
SYNOPSIS
domain]
Remarks
The Network Information Service (NIS) was formerly known as Yellow
Pages (YP). Although the name has changed, the functionality of the
service remains the same.
DESCRIPTION
prints the values associated with one or more keys in a Network Infor‐
mation Service (NIS) map specified by mname. The mname can be either a
mapname or a map nickname. A map nickname is a synonym by which a NIS
map can be referenced.
If multiple keys are specified, the same map is searched for an occur‐
rence of each key. A match is made only when the case and length of a
key is the same as that stored in the database. No pattern matching is
available. If a key is not matched, a diagnostic message is produced.
Options
recognizes the following command-line options:
Before printing the value associated with a key,
print the key followed by a colon This option is useful
if the keys are not part of the values (as in a map), or
so many keys were specified that the output could be
confusing.
Inhibit the translation of a map's
nickname to its corresponding mapname. For example,
fails because there is no map named whereas, is trans‐
lated to
Specify a
domain other than the default domain, that is, the one
returned by (see domainname(1)).
Display the
nickname for each NIS map.
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSOdomainname(1), ypcat(1), ypserv(1M), ypfiles(4).
ypmatch(1)