.\" -*- nroff -*- .\" Copyright (C) 1998, 1999 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. .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .\" .\" Japanese Version Copyright (c) 1999 NAKANO Takeo all rights reserved. .\" Translated Tue Sep 14 1999 by NAKANO Takeo .\" .TH ypwhich 1 "May 1998" "YP Tools 2.8" .SH 名前 ypwhich \- NIS サーバーまたはマップマスターの名前を返す。 .SH 書式 \fBypwhich\fP [ \fB\-d\fP\fI domain\fP ] [ \fB\-V\fPn ] [ \fIhostname\fP ] .br \fBypwhich\fP [ \fB\-d\fP\fI domain\fP ] [ \fB\-t\fP ] \fB\-m\fP [ \fImname\fP ] .br \fBypwhich\fP \fB\-x\fP .LP .SH 説明 \fBypwhich\fP は NIS サービスをクライアントに与えている NIS サーバーの名前を返す。 またはマップに対するマスターを返す。 引数なしで起動されると、ローカルなマシンに対する NIS サーバを返す。 \fIhostname\fP が指定されると、そのマシンの NIS マスターを問い合わせる。 .SH オプション .TP \fB\-d\fP\fI domain\fP デフォルトドメイン以外のドメインを指定する。 .TP \fB\-t\fP マップのニックネーム変換を抑制する。 .TP \fB\-m\fP\fI mname\fP 指定したマップに対するマスターの NIS サーバーを探す。 \fIhostname\fP を同時に指定することはできない。 \fImname\fP はマップの名前である。マップのニックネームでもよい。 \fImname\fP が省略された場合は、 \fBypwhich\fP は利用可能なマップのリストを生成する。 .TP \fB\-x\fP マップのニックネームの変換テーブルを表示する。 .TP \fB\-Vn\fP \fBypbind\fP(8) のバージョンを指定する。デフォルトは V2 である。 .SH ファイル .TP \fB/var/yp/nicknames\fP マップのニックネームの変換テーブル。 .SH 関連項目 \fBdomainname\fP(8), \fBnicknames\fP(5), \fBypbind\fP(8), \fBypcat\fP(1), \fBypmatch\fP(1), \fByppoll\fP(8), \fBypserv\fP(8), \fByset\fP(8) .LP .SH 作者 \fBypwhich\fP は \fByp\-tools\fP パッケージの一部である。 \fByp\-tools\fP パッケージは Thorsten Kukuk によって書かれた。