- NetBSD Manual Pages
YPMATCH(1) NetBSD General Commands Manual YPMATCH(1)
Powered by man-cgi (2021-06-01).
Maintained for NetBSD
by Kimmo Suominen.
Based on man-cgi by Panagiotis Christias.
ypmatch -- print the values of one or more keys in a NIS database
ypmatch [-ktz] [-d domainname] key ... mapname
ypmatch prints out the values of one or more keys from the NIS database
specified by mapname, which may be a map name or a map nickname.
The options are as follows:
Specify a domain other than the default domain.
-k Print the map key followed by a colon, before printing key value.
This option is useful with maps in which the values are null or
the key is not part of the value.
-t Inhibit translation of map nicknames to their corresponding map
-x Display the map nickname table.
-z Append a NUL character at the end of the key when doing the
lookup. This is useful for mail.aliases maps, which include a
trailing NUL in the keys.
domainname(1), ypcat(1), ypwhich(1), nis(8), ypbind(8), yppoll(8),
Theo De Raadt
NetBSD 4.0 February 26, 2005 NetBSD 4.0