1.\" $OpenBSD: ypcat.1,v 1.10 2014/09/08 01:27:55 schwarze Exp $ 2.\" $NetBSD: ypcat.1,v 1.4 1996/05/13 02:43:36 thorpej Exp $ 3.\" 4.\" Copyright (c) 1993 Winning Strategies, Inc. 5.\" All rights reserved. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions 9.\" are met: 10.\" 1. Redistributions of source code must retain the above copyright 11.\" notice, this list of conditions and the following disclaimer. 12.\" 2. Redistributions in binary form must reproduce the above copyright 13.\" notice, this list of conditions and the following disclaimer in the 14.\" documentation and/or other materials provided with the distribution. 15.\" 3. All advertising materials mentioning features or use of this software 16.\" must display the following acknowledgement: 17.\" This product includes software developed by Winning Strategies, Inc. 18.\" 4. The name of the author may not be used to endorse or promote products 19.\" derived from this software without specific prior written permission 20.\" 21.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 22.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 23.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 24.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 25.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 26.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 27.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 28.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 29.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 30.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31.\" 32.\" $Id: ypcat.1,v 1.10 2014/09/08 01:27:55 schwarze Exp $ 33.\" 34.Dd $Mdocdate: September 8 2014 $ 35.Dt YPCAT 1 36.Os 37.Sh NAME 38.Nm ypcat 39.Nd print the values of all keys in a YP database 40.Sh SYNOPSIS 41.Nm ypcat 42.Op Fl kt 43.Op Fl d Ar domainname 44.Ar mapname 45.Nm ypcat 46.Fl x 47.Sh DESCRIPTION 48.Nm 49prints out the values of all keys from the 50.Tn YP 51database specified by 52.Ar mapname , 53which may be a map name or a map nickname. 54.Pp 55The options are as follows: 56.Bl -tag -width Ds 57.It Fl d Ar domainname 58Specify a domain other than the default domain. 59.It Fl k 60Display map keys. 61This option is useful with maps in which the values are null or the key 62is not part of the value. 63.It Fl t 64Inhibit translation of map nicknames 65to their corresponding map names. 66.It Fl x 67Display the map nickname table. 68.El 69.Sh SEE ALSO 70.Xr domainname 1 , 71.Xr ypmatch 1 , 72.Xr ypwhich 1 , 73.Xr yp 8 , 74.Xr ypbind 8 , 75.Xr yppoll 8 , 76.Xr ypset 8 77.Sh AUTHORS 78.An Theo de Raadt 79