xref: /freebsd/usr.bin/ypcat/ypcat.1 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
173407b34SGarrett Wollman.\" Copyright (c) 1993 Winning Strategies, Inc.
273407b34SGarrett Wollman.\" All rights reserved.
373407b34SGarrett Wollman.\"
473407b34SGarrett Wollman.\" Redistribution and use in source and binary forms, with or without
573407b34SGarrett Wollman.\" modification, are permitted provided that the following conditions
673407b34SGarrett Wollman.\" are met:
773407b34SGarrett Wollman.\" 1. Redistributions of source code must retain the above copyright
873407b34SGarrett Wollman.\"    notice, this list of conditions and the following disclaimer.
973407b34SGarrett Wollman.\" 2. Redistributions in binary form must reproduce the above copyright
1073407b34SGarrett Wollman.\"    notice, this list of conditions and the following disclaimer in the
1173407b34SGarrett Wollman.\"    documentation and/or other materials provided with the distribution.
1273407b34SGarrett Wollman.\" 3. All advertising materials mentioning features or use of this software
1373407b34SGarrett Wollman.\"    must display the following acknowledgement:
1473407b34SGarrett Wollman.\"      This product includes software developed by Winning Strategies, Inc.
1573407b34SGarrett Wollman.\" 4. The name of the author may not be used to endorse or promote products
164a8d0283SMike Pritchard.\"    derived from this software without specific prior written permission
1773407b34SGarrett Wollman.\"
1873407b34SGarrett Wollman.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1973407b34SGarrett Wollman.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
2073407b34SGarrett Wollman.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
2173407b34SGarrett Wollman.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
2273407b34SGarrett Wollman.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2373407b34SGarrett Wollman.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2473407b34SGarrett Wollman.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2573407b34SGarrett Wollman.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2673407b34SGarrett Wollman.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2773407b34SGarrett Wollman.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2873407b34SGarrett Wollman.\"
29*aa44f2edSMarcelo Araujo.Dd September 3, 2015
3073407b34SGarrett Wollman.Dt YPCAT 1
3173407b34SGarrett Wollman.Os
3273407b34SGarrett Wollman.Sh NAME
3373407b34SGarrett Wollman.Nm ypcat
34*aa44f2edSMarcelo Araujo.Nd print the values of all keys in a NIS database
3573407b34SGarrett Wollman.Sh SYNOPSIS
368fe908efSRuslan Ermilov.Nm
3773407b34SGarrett Wollman.Op Fl kt
3873407b34SGarrett Wollman.Op Fl d Ar domainname
3973407b34SGarrett Wollman.Ar mapname
408fe908efSRuslan Ermilov.Nm
4173407b34SGarrett Wollman.Fl x
4273407b34SGarrett Wollman.Sh DESCRIPTION
43e8937ba0SPhilippe CharnierThe
44e8937ba0SPhilippe Charnier.Nm
45e8937ba0SPhilippe Charnierutility prints out the values of all keys from the
46*aa44f2edSMarcelo Araujo.Tn NIS
4773407b34SGarrett Wollmandatabase specified by
4873407b34SGarrett Wollman.Ar mapname ,
4973407b34SGarrett Wollmanwhich may be a map name or a map nickname.
5073407b34SGarrett Wollman.Pp
5173407b34SGarrett WollmanThe options are as follows:
5273407b34SGarrett Wollman.Bl -tag -width indent
5373407b34SGarrett Wollman.It Fl d Ar domainname
5473407b34SGarrett WollmanSpecify a domain other than the default domain.
5573407b34SGarrett Wollman.It Fl k
5673407b34SGarrett WollmanDisplay map keys.
5773407b34SGarrett WollmanThis option is useful with maps in which the values are null or the key
5873407b34SGarrett Wollmanis not part of the value.
5973407b34SGarrett Wollman.It Fl t
6073407b34SGarrett WollmanInhibit translation of map nicknames
6173407b34SGarrett Wollmanto their corresponding map names.
6273407b34SGarrett Wollman.It Fl x
6373407b34SGarrett WollmanDisplay the map nickname table.
6473407b34SGarrett Wollman.El
6573407b34SGarrett Wollman.Sh SEE ALSO
66c1f84cc1SPhilippe Charnier.Xr domainname 1 ,
6773407b34SGarrett Wollman.Xr ypmatch 1 ,
68491a8429SRuslan Ermilov.Xr yp 8 ,
69c1f84cc1SPhilippe Charnier.Xr ypbind 8 ,
70c1f84cc1SPhilippe Charnier.Xr ypset 8
71306005e7SPhilippe Charnier.Sh AUTHORS
722b7af31cSBaptiste Daroussin.An Theo De Raadt Aq Mt deraadt@theos.com .
73