YPMATCH(1) MidnightBSD General Commands Manual YPMATCH(1)


ypmatch — print the values of one or more keys in a YP database


ypmatch [−kt] [−d domainname] key ... mapname
ypmatch −x


The ypmatch utility prints out the values of one or more keys from the YP database specified by mapname, which may be a map name or a map nickname.

The options are as follows:

−d domainname

Specify a domain other than the default domain.


Display map keys. This option is useful with maps in which the values are null or the key is not part of the value.


Inhibit translation of map nicknames to their corresponding map names.


Display the map nickname table.


domainname(1), ypcat(1), yp(8), ypbind(8), ypset(8)


Theo De Raadt 〈deraadt@theos.com〉.

MidnightBSD 0.3 December 3, 1993 MidnightBSD 0.3