ypcat(1) ONC 5.4.2 ypcat(1)
NAME
ypcat - print values in an NIS data base
SYNOPSIS
ypcat [ -kt ] [ -d domainname ] mname
ypcat -x
DESCRIPTION
ypcat prints out values in a Network Information Service (NIS) map
specified by mname, which may be either a map name or a map nickname
. Since ypcat uses the NIS network services, no NIS server is
specified.
To look at the network-wide password database, passwd.byname (with
the nickname passwd), type:
ypcat passwd
Refer to ypfiles(4) and ypserv(1M) for an overview of the Network
Information Service.
OPTIONS
-k Display the keys for those maps in which the values are null
or the key is not part of the value.
-t Inhibit translation of mname to map name. For example, `ypcat
-t passwd' will fail because there is no map named passwd,
whereas `ypcat passwd' will be translated to `ypcat
passwd.byname'.
-d domainname
Specify a domain other that the default domain. The default
domain is returned by domainname.
-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
domainname(1), ypmatch(1), ypserv(1M), ypfiles(4).
Licensed material--property of copyright holder(s) 1