ypmatch(1) ypmatch(1)
NAME
ypmatch - print the value of one or more keys from an NIS map
SYNOPSIS
ypmatch [-d ypdomain] [-k] key... mname
ypmatch -x
DESCRIPTION
The ypmatch command prints the values associated with one or
more keys from the Network Information Service (NIS) map
specified by mname.
USAGE
mname may specify either a map name or a map alias.
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.
Options
ypmatch takes the following options:
-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.
-x Shows map aliases. This lists the aliases
(mnames) the command knows of, and indicates
the map name associated with each alias.
REFERENCES
domainname(1M), ypcat(1), ypfiles(4)
Copyright 1994 Novell, Inc. Page 1