Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > Y


HP-UX 11i Version 3: February 2007

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index


ypcat — print all values in Network Information Service map


ypcat [-k] [-t] [-d domain] mname

ypcat -x


The Network Information Service (NIS) was formerly known as Yellow Pages (YP). The functionality of the two remains the same; only the name has changed.


ypcat prints all values in a Network Information Service (NIS) map specified by mname, which can be either a mapname or a map nickname. A map nickname is a synonym by which a NIS map can be referenced. Values are listed, one per line.


ypcat recognizes the following options:


Print the associated key preceding each value. This option is useful for examining maps in which the values are null or the keys are not part of the value, such as the ypservers map. The maps derived from files that have an ASCII version in /etc (such as passwd and hosts) are not in this category.


Inhibit the translation of a map's nickname to its corresponding mapname. For example, ypcat -t passwd fails because there is no map named passwd, whereas ypcat passwd translates to ypcat passwd.byname.


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


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


Display the network-wide password database whose mapname is passwd.byname and nickname is passwd :

ypcat passwd


ypcat was developed by Sun Microsystems, Inc.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.