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

  man pages->HP-UX 11i man pages -> ypmatch (1)              
Title
Content
Arch
Section
 

Contents


 ypmatch(1)                                                       ypmatch(1)




 NAME    [Toc]    [Back]
      ypmatch - print values of selected keys in Network Information Service
      map

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

      ypmatch -x

    Remarks    [Toc]    [Back]
      The Network Information Service (NIS) was formerly known as Yellow
      Pages (yp).  Although the name has changed, the functionality of the
      service remains the same.

 DESCRIPTION    [Toc]    [Back]
      ypmatch prints the values associated with one or more keys in a
      Network Information Service (NIS) map specified by mname.  The mname
      can be either a mapname or a map nickname.  A map nickname is a
      synonym by which a NIS map can be referenced.

      If multiple keys are specified, the same map is searched for an
      occurrence of each key.  A match is made only when the case and length
      of a key is the same as that stored in the database.  No pattern
      matching is available.  If a key is not matched, a diagnostic message
      is produced.

    Options    [Toc]    [Back]
      ypmatch recognizes the following command-line options:

           -k      Before printing the value associated with a key, print
                   the key followed by a colon (:).  This option is useful
                   if the keys are not part of the values (as in a ypservers
                   map), or so many keys were specified that the output
                   could be confusing.

           -t      Inhibit the translation of a map's nickname to its
                   corresponding mapname.  For example, ypmatch -t zippy
                   passwd fails because there is no map named passwd, while
                   ypmatch zippy passwd is translated to ypmatch zippy
                   passwd.byname.

           -d      Specify a domain other than the one returned by
                   domainname (see domainname(1)).

           -x      Display the table that lists the nickname for each NIS
                   map.

 AUTHOR    [Toc]    [Back]
      ypmatch was developed by Sun Microsystems, Inc.





 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003






 ypmatch(1)                                                       ypmatch(1)




 SEE ALSO    [Toc]    [Back]
      domainname(1), ypcat(1), ypserv(1M), ypfiles(4).


 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
ypcat HP-UX print all values in Network Information Service map
ypcat Tru64 print values from an Network Information Service (NIS) data base
ypmatch Linux print the values of one or more keys from a NIS map
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
ypmatch FreeBSD print the values of one or more keys in a YP database
nis_intro Tru64 Network Information Service (NIS) introductory information
nis+ HP-UX a new version of the network information name service
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service