Learn the Linux Command - ypcat

She gives her all
PeopleImages.com/DigitalVision/Getty Images

ypcat - print values of all keys in a NIS database  

Synopsis

ypcat [ -kt ] [ -d domain ] [ -h hostname ] mapname 
ypcat -x

Description

ypcat prints the values of all keys from the NIS database specified by mapname, which may be a map name or a map nickname.  

Options

-d domain

Specify a domain other than the default domain as returned by domainname(1).

-h hostname

Specify a hostname other than the default one as found by ypbind(8).

-k

Display map keys. This option is useful with maps in which the values are null or the key is not part of the value.

-t

This option inhibits map nickname translation.

-x

Display the map nickname translation table.

Was this page helpful?