ypcat — Print Values in an NIS Database

Synopsis

/usr/bin/ypcat [-kx][-d ypdomain] mname
					

Description

The ypcat command prints out values in the NIS name service map specified by mname , which may be either a map name or a map nickname. Because ypcat uses the NIS network services, you need not specify an NIS server.

Refer to ypfiles(4) for an overview of the NIS name service.

Options

-d ypdomain Specify a domain other than the default domain.
-k Display the keys for those maps in which the values are null or the key is not part of the value. None of the maps derived from files that have an ASCII version in /etc fall into this class.
-x Display map nicknames.

Examples

The following example shows the output for the ypcat -x command on a ...

Get Solaris™ 7 Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.