Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ypcat(1) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

domainname(1)

ypmatch(1)

ypserv(1M)

ypfiles(4)

ypcat(1)

NAME

ypcat − print all values in Network Information Service map

SYNOPSIS

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

DESCRIPTION

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. 

Options

ypcat recognizes the following options:

-k 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. 

-t 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. 

-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

ypcat was developed by Sun Microsystems, Inc. 

EXAMPLES

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

ypcat passwd

SEE ALSO

domainname(1), ypmatch(1), ypserv(1M), ypfiles(4). 

INTERNATIONAL SUPPORT

8-bit data, messages. 

Hewlett-Packard Company  —  HP-UX Release 9.10: April 1995

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026