ypmatch man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

YPMATCH(1)							    YPMATCH(1)

NAME
       ypmatch - print the value of one or more keys from a NIS map

SYNOPSIS
       ypmatch [-k] [-t] [-d domain] key [key]... mname

       ypmatch -x


DESCRIPTION
       ypmatch	prints	the  values  associated with one or more keys from the
       NIS's name services map specified by mname, which may be either	a  map
       name or a map nickname.

       Multiple	 keys  can  be specified; all keys will be searched for in the
       same map.  The keys must be the same case and length. No pattern match‐
       ing is available. If a key is not matched, a diagnostic message is pro‐
       duced.

OPTIONS
       The following options are supported:

       -k
		    Before printing the value of a key, print the key  itself,
		    followed by a colon (:).

       -t
		    Inhibit map nickname translation.

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

       -x
		    Display  the  map nickname table. This lists the nicknames
		    the command knows of, and indicates the map	 name  associ‐
		    ated with each nickname.

OPERANDS
       The following operand is supported:

       mname
		The NIS's name services map

EXIT STATUS
       The following exit values are returned:

       0
	    Successful operation.

       1
	    An error occurred.

SEE ALSO
       ypcat(1), ypfiles(4), attributes(5)

NOTES
       ypmatch	will  fail with an RPC error message on yp operation if enough
       file descriptors are not available.  The	 number	 of  file  descriptors
       should be increased if this occurs.

				 Aug 22, 1997			    YPMATCH(1)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net