📄 ypwhich.1yp
字号:
.\" SCCSID: @(#)ypwhich.1yp 8.1 9/11/90.TH ypwhich 1yp.SH Nameypwhich \- determine which host is the current YP server or map master..SH Syntax.B ypwhich[\fB\-d\fI domain\fR\|] [\fB\-V1\fR] [\fB\-V2\fR] [\|\fIhostname\fR\|].br.B ypwhich[\fB\-d\fI domain\fR\|] [\fB\-m\fI mname\fR\|]\|[\fB\-t\fR]\|].br.B "ypwhich \-x".SH Description.NXR "ypwhich command".NXAM "ypserv daemon" "ypwhich command".NXR "YP server" "determining"The.PN ypwhichcommand identifies the YP server that currently supplies yellow pagesservices to a YP client. It also identifies which YP server is themaster for a map. If invoked without arguments, .PN ypwhichreturns the host name of the YP server for the local machine. If.I hostnameis specified, .PN ypwhichchecks that machine to find out which YP master it is using..PPRefer to .MS ypfiles 5ypand.MS ypserv 8ypfor an overview of the yellowpages..SH Options.IP \fB\-V1\fR 0.3iIdentifies which server is servingv.1 YP protocol-speaking client processes..IP \fB\-V2\fR 0.3iIdentifies which server is servingv.2 YP protocol-speaking client processes..IPIf neither version is specified, .PN ypwhichattempts to locate the server that supplies thecurrent v.2 services. If there is no v.2 server currentlybound, .PN ypwhichattempts to locate the server supplying the v.1 services.Since YP servers and YP clients are both backward compatible,the user need seldom be concerned about which version is currently in use..IP \fB\-d\fR 0.3iUses.I domaininstead of the current domain..IP "\fB\-m\fI mname\fR" 0.3iFinds the master YP server for a map. No.I hostnamecan be specified with.B \-m.The.I mnameargument can be a mapname, or a nickname for a map. .IP \fB\-t\fR 0.3iInhibits nickname translation and is useful if there is a mapnameidentical to a nickname..IP \fB\-x\fR 0.3iDisplays the map nickname table.This option lists the nicknames (\fImnames\fR\|)that the command knows of, and indicates the.I mapnameassociated with eachnickname..SH See Alsoypfiles(5yp), rpcinfo(8nfs), ypserv(8yp), ypsetup(8yp)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -