August 1999
Intermediate to advanced
1000 pages
83h 9m
English
/usr/bin/ypwhich [-d domain][[-t] -m [mname] | [-Vn] hostname] /usr/bin/ypwhich -x
ypwhich returns the name of the NIS server that supplies the NIS name services to an NIS client or that is the master for a map. If invoked without arguments, ypwhich gives the NIS server for the local system. If you specify hostname , that system is queried to find out which NIS master it is using.
Refer to ypfiles(4) for an overview of the NIS name services.
| -d domain | Use domain instead of the default domain. |
| -m mname | Find the master NIS server for a map. You cannot specify a host name with -m. mname can be a map name or a nickname for a map. When you omit mname , produce a ... |
Read now
Unlock full access