YPMATCH(1,C) AIX Commands Reference YPMATCH(1,C)
-------------------------------------------------------------------------------
ypmatch
PURPOSE
Displays the value of one or more keys from an NIS map.
SYNTAX
+-------------+ +--------+
ypmatch ---| |---| +----+ |--- key --- mname ---|
+- -d domain -+ +-| -k |-+ ^ |
^| -t || +-------+
|+----+|
+------+
+------+
ypmatch ---| |---|
+- -x -+
Note: This command does not have MBCS support.
DESCRIPTION
The ypmatch command displays the values associated with one or more keys from
the NIS map specified by the mname parameter, which can be either a map name or
a map nickname. Multiple keys can be specified; the same map is searched for
all. The keys must be exact values. No pattern matching is available. If a
key is not matched, a message is displayed.
FLAGS
-d domain Specifies a domain other than the default domain.
-k Displays the keys, followed by a colon (:) and the value of the
key.
-t Inhibits translation of nicknames to map names. For example,
ypmatch -t zippy passwd fails because there is no map named passwd,
whereas ypmatch zippy passwd is translated to ypmatchp zippy
passwd.byname.
-x Displays the map nickname table, which lists the nicknames (mnames)
and indicates the map name associated with each nickname.
RELATED INFORMATION
See the following command: "ypcat."
Processed November 8, 1990 YPMATCH(1,C) 1