Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ypmatch(1) — SunOS 5.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ypcat(1)

ypfiles(4)

ypmatch(1)

NAME

ypmatch − print the value of one or more keys from a NIS map

SYNOPSIS

ypmatch [ −k ] [ −t ] [ −d domain ] key [ key... ] mname

ypmatch −x

AVAILABILITY

SUNWnisu

DESCRIPTION

ypmatch prints the values associated with one or more keys from the NIS’s name services map specified by mname, which may be either a mapname or a map nickname ( mnames).

Multiple keys can be specified; all keys will be searched for in the same map.  The keys must be the same case and length.  No pattern matching is available.  If a key is not matched, a diagnostic message is produced. 

OPTIONS

−k Before printing the value of a key, print the key itself, followed by a ‘:’ (colon). 

−t This option inhibits map nickname translation. 

−d domain Specify a domain other than the default domain. 

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

SEE ALSO

ypcat(1), ypfiles(4)

SunOS 5.5  —  Last change: 14 Sep 1992

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