.\" -*- nroff -*- .\" Copyright (C) 1998, 1999, 2001 Thorsten Kukuk .\" This file is part of the yp-tools. .\" Author: Thorsten Kukuk .\" .\" This program is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License version 2 as .\" published by the Free Software Foundation. .\" .\" This program is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public License .\" along with this program; if not, write to the Free Software Foundation, .\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. .\" .TH ypcat 1 "December 2001" "YP Tools 2.9" .SH NAME ypcat - print values of all keys in a NIS database .SH SYNOPSYS .B ypcat [ .BR \-kt ] [ .BI \-d " domain" ] [ .BI \-h " hostname" ] .I mapname .br .B ypcat .B \-x .LP .SH DESCRIPTION .B ypcat prints the values of all keys from the NIS database specified by .IR mapname, which may be a map name or a map nickname. .SH OPTIONS .TP .BI \-d " domain" Specify a domain other than the default domain as returned by .BR domainname (1). .TP .BI \-h " hostname" Specify a hostname other than the default one as found by .BR ypbind (8). .TP .B \-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. .TP .B \-t This option inhibits map nickname translation. .TP .B \-x Display the map nickname translation table. .SH FILES .TP .B /var/yp/nicknames map nickname translation table. .SH "SEE ALSO" .BR domainname (8), .BR nicknames (5), .BR ypbind (8), .BR ypmatch (1), .BR yppoll (8), .BR ypserv (8), .BR ypset (8), .BR ypwhich (1) .LP .SH AUTHOR .B ypcat is part of the .B yp-tools package, which was written by Thorsten Kukuk .