Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ypcat(1) — HP-UX 6.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

domainname(1)

ypmatch(1)

ypserv(1M)

ypfiles(4)

YPCAT(1)  —  Series 300 Only

NAME

ypcat - print all values in a Yellow Pages map

SYNOPSIS

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

DESCRIPTION

The ypcat command prints all values in a Yellow Pages (YP) map specified by mname, which may be either a mapname or a map nickname. A map nickname is a synonym by which a YP map may be referenced.  Values are listed one per line. 

Options

−kPrint 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, like the ypservers map.  The maps derived from files that have an ASCII version in /etc (e.g., passwd and hosts) are not in this category.

−tInhibit 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.

−dSpecify a domain other than the one returned by domainname(1).

−xDisplay the table that lists the nickname for each YP map. 

AUTHOR

Sun Microsystems, Inc. 

EXAMPLES

To look at the network-wide password database whose mapname is passwd.byname and nickname is passwd, type

ypcat passwd

SEE ALSO

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

INTERNATIONAL SUPPORT

8-bit data, messages

Hewlett-Packard Company  —  May 11, 2021

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