Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

domainname(1yp)

ypmatch(1yp)

ypfiles(5yp)

ypserv(8yp)

ypcat(1yp)

Name

ypcat − print values from a YP data base

Syntax

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

Description

The ypcat command prints values stored in a yellow pages (YP) map specified by mname, which may be either a mapname or a map nickname. 

To look at the network-wide password database, passwd.byname, with the nickname passwd, type:

ypcat passwd

Options

−d domainname
Displays information on the domain specified by domainname. 

−kDisplays keys for maps in which values are null or key is not part of the value. 

−tInhibits translation of mname to mapname.  For example,

ypcat −t passwd

will fail because there is no map named passwd, whereas

ypcat passwd

will be translated to

ypcat passwd.byname.

−xDisplays map nickname table.  This lists the nicknames (mnames) the command knows of, and indicates the mapname associated with each nickname. 

See Also

domainname(1yp), ypmatch(1yp), ypfiles(5yp), ypserv(8yp)

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