Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ypmatch(1) [netbsd man page]

YPMATCH(1)						    BSD General Commands Manual 						YPMATCH(1)

NAME
ypmatch -- print the values of one or more keys in a NIS database SYNOPSIS
ypmatch [-ktz] [-d domainname] key ... mapname ypmatch -x DESCRIPTION
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: -d domainname 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 names. -x Display the map nickname table, found in /var/yp/nicknames. A built-in default translation table is used if /var/yp/nicknames does not exist (see nicknames(5) for details). -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. SEE ALSO
domainname(1), ypcat(1), ypwhich(1), nicknames(5), nis(8), ypbind(8), yppoll(8), ypset(8) AUTHORS
Theo De Raadt Greywolf BSD
June 20, 2009 BSD

Check Out this Related Man Page

ypmatch(1)						      General Commands Manual							ypmatch(1)

NAME
ypmatch - print the values of one or more keys from a NIS map SYNOPSIS
ypmatch [ -kt ] [ -d domain ] key ... mapname ypmatch -x DESCRIPTION
ypmatch prints the values of one or more keys from the NIS database specified by mapname, which may be a map name or a map nickname. OPTIONS
-d domain Specify a domain other than the default domain as returned by domainname(8). -k Display map keys. This option is useful with maps in which the values are null or the key is not part of the value. -t This option inhibits map nickname translation. -x Display the map nickname translation table. FILES
/var/yp/nicknames map nickname translation table. SEE ALSO
domainname(8), nicknames(5), ypbind(8), ypcat(1), yppoll(8), ypserv(8), ypset(8), ypwhich(1) AUTHOR
ypmatch is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@linux-nis.org>. YP Tools 2.14 April 2010 ypmatch(1)
Man Page