ypwhich.1 (0a1cf344b74c4e46adc9d67a8217dbfd020dbec4) | ypwhich.1 (f2b7396852b7fac8715983a0109e41742e316506) |
---|---|
1.\" $NetBSD: ypwhich.1,v 1.3 1996/05/13 02:43:46 thorpej Exp $ 2.\" 3.\" Copyright (c) 1994 Christopher G. Demetriou 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 14 unchanged lines hidden (view full) --- 23.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 24.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 25.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 29.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30.\" | 1.\" $NetBSD: ypwhich.1,v 1.3 1996/05/13 02:43:46 thorpej Exp $ 2.\" 3.\" Copyright (c) 1994 Christopher G. Demetriou 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 14 unchanged lines hidden (view full) --- 23.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 24.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 25.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 29.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30.\" |
31.\" $FreeBSD$ | 31.\" $Id$ |
32.\" 33.Dd February 23, 1994 34.Dt YPWHICH 1 35.Os 36.Sh NAME 37.Nm ypwhich 38.Nd return hostname of YP server of map master 39.Sh SYNOPSIS | 32.\" 33.Dd February 23, 1994 34.Dt YPWHICH 1 35.Os 36.Sh NAME 37.Nm ypwhich 38.Nd return hostname of YP server of map master 39.Sh SYNOPSIS |
40.Nm | 40.Nm ypwhich |
41.Op Fl d Ar domain 42.Oo 43.Op Fl t | 41.Op Fl d Ar domain 42.Oo 43.Op Fl t |
44.Fl m Oo Ar mname Oc | Ar host | 44.Fl m Op Ar mname 45| 46.Ar host |
45.Oc | 47.Oc |
46.Nm | 48.Nm ypwhich |
47.Fl x 48.Sh DESCRIPTION | 49.Fl x 50.Sh DESCRIPTION |
49The 50.Nm 51utility tells which | 51.Nm Ypwhich 52tells which |
52.Tn YP 53server supplies 54.Tn YP 55services to a client, or which is the master for a map. 56If invoked without arguments, it gives the 57.Tn YP 58server for the local machine. 59If --- 8 unchanged lines hidden (view full) --- 68.It Fl d Ar domain 69Specify a domain other than the default domain. 70.It Fl t 71Inhibit translation of map nicknames 72to their corresponding map names. 73.It Fl m Op Ar mname 74Find the master 75.Tn YP | 53.Tn YP 54server supplies 55.Tn YP 56services to a client, or which is the master for a map. 57If invoked without arguments, it gives the 58.Tn YP 59server for the local machine. 60If --- 8 unchanged lines hidden (view full) --- 69.It Fl d Ar domain 70Specify a domain other than the default domain. 71.It Fl t 72Inhibit translation of map nicknames 73to their corresponding map names. 74.It Fl m Op Ar mname 75Find the master 76.Tn YP |
76server for the named map. 77No | 77server for the named map. No |
78.Ar host 79may be specified with the 80.Fl m 81option. | 78.Ar host 79may be specified with the 80.Fl m 81option. |
82The | 82.Ar Mname 83can be a map name or nickname. If |
83.Ar mname | 84.Ar mname |
84argument 85can be a map name or nickname. 86If 87.Ar mname 88is omitted, 89.Nm | 85is ommitted, 86.Nm ypwhich |
90will produce a list of available maps. 91.It Fl x 92Display the map nickname table. 93.El 94.Sh SEE ALSO 95.Xr domainname 1 , 96.Xr ypcat 1 , 97.Xr ypmatch 1 , | 87will produce a list of available maps. 88.It Fl x 89Display the map nickname table. 90.El 91.Sh SEE ALSO 92.Xr domainname 1 , 93.Xr ypcat 1 , 94.Xr ypmatch 1 , |
98.Xr yp 8 , | 95.Xr yp 4 , |
99.Xr ypbind 8 , 100.Xr yppoll 8 , 101.Xr ypset 8 | 96.Xr ypbind 8 , 97.Xr yppoll 8 , 98.Xr ypset 8 |
102.Sh AUTHORS 103.An Theo De Raadt | 99.Sh AUTHOR 100Theo De Raadt |