*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> ypwhich (1)              



NAME    [Toc]    [Back]

     ypwhich -- return hostname of YP server of map master

SYNOPSIS    [Toc]    [Back]

     ypwhich [-d domain] [[-t] -m [mname] | host]
     ypwhich -x

DESCRIPTION    [Toc]    [Back]

     The ypwhich utility tells which YP server supplies YP services to a
     client, or which is the master for a map.	If invoked without arguments,
     it gives the YP server for the local machine.  If host is specified, that
     machine is queried to find out which YP server it is using.

     The options are as follows:

     -d domain
	     Specify a domain other than the default domain.

     -t      Inhibit translation of map nicknames to their corresponding map

     -m [mname]
	     Find the master YP server for the named map.  No host may be
	     specified with the -m option.  Mname can be a map name or nickname.
  If mname is omitted, ypwhich will produce a list of available

     -x      Display the map nickname table.

SEE ALSO    [Toc]    [Back]

     domainname(1), ypcat(1), ypmatch(1), yp(8), ypbind(8), yppoll(8),

AUTHORS    [Toc]    [Back]

     Theo De Raadt

FreeBSD 5.2.1		       February 23, 1994		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
ypwhich OpenBSD return hostname of YP server or map master
ypwhich IRIX print the NIS server or map master hostname
ypwhich Linux return name of NIS server or map master
yppoll Linux return version and master server of a NIS map
glcgetmasterlistc IRIX return attribute of master
glcgetmastermap IRIX return the string name of a character in a master
ypinit OpenBSD create a YP server (master or slave)
ypwhich Tru64 determine which host is the current NIS server or map master.
ypwhich HP-UX list which host is Network Information System server or map master
yppoll Tru64 determine which version of a Network Information Service (NIS) map is at a master NIS server host
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service