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

  man pages->IRIX man pages -> ypmatch (1)              
Title
Content
Arch
Section
 

Contents


YPMATCH(1)							    YPMATCH(1)


NAME    [Toc]    [Back]

     ypmatch - print key values	in NIS map

SYNOPSIS    [Toc]    [Back]

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

DESCRIPTION    [Toc]    [Back]

     ypmatch prints the	values associated with one or more keys	from the
     network information service (NIS) map (database) specified	by a mname,
     which may be either a mapname or an map nickname.

     Multiple keys can be specified; the same map will be searched for all.
     The keys must be exact values insofar as capitalization and length	are
     concerned.	 No pattern matching is	available. If a	key is not matched, a
     diagnostic	message	is produced.

OPTIONS    [Toc]    [Back]

     -d	  Specify a domain other that the default domain.  The NIS server for
	  the specified	domain must be able to receive broadcasts from your
	  machine (i.e., the server must be on the same	(sub)network).

     -k	  Before printing the value corresponding to a key, print the key
	  itself, followed by a	colon (`:').  This is useful only if the keys
	  are not duplicated in	the values, or you've specified	so many	keys
	  that the output could	be confusing.

     -t	  Inhibit translation of nickname to mapname.  For example,

	       ypmatch -t zippy	passwd

	  will fail because there is no	map named passwd, while

	       ypmatch zippy passwd

	  will succeed because it is equivalent	to

	       ypmatch zippy passwd.byname


     -x	  Display the map nickname table.  This	lists the nicknames (mnames)
	  the command knows of,	and indicates the mapname associated with each
	  nickname.  Use ypwhich -m to list all	the map	names.

SEE ALSO    [Toc]    [Back]

      
      
     ypcat(1), ypwhich(1), ypfiles(4)


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
ypmatch Linux print the values of one or more keys from a NIS map
ypcat IRIX print values in NIS databases
ypmatch FreeBSD print the values of one or more keys in a YP database
ypcat FreeBSD print the values of all keys in a YP database
ypcat Linux print values of all keys in a NIS database
ypcat OpenBSD print the values of all keys in a YP database
ypmatch OpenBSD print the values of one or more keys in a YP database
ypcat HP-UX print all values in Network Information Service map
ypmatch HP-UX print values of selected keys in Network Information Service map
ypcat Tru64 print values from an Network Information Service (NIS) data base
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service