ypcat

Applies To: Windows Server 2008 R2, Windows Server 2012

ypcat

NAME

ypcat - Windows command-line utility to print values of all keys in an NIS map

SYNOPSIS

ypcat 
    [
  -k
    ] [
  -t
    ] [
  -h 
    nisServer] [
  -d 
    domain]mapname
  
ypcat -x

DESCRIPTION

The ypcat (1w) Windows command-line utility prints the values of all keys from the Network Information Service (NIS) database specified by mapname , which can be a map name or a map nickname.

The ypcat command accepts the following options and arguments:

Term Definition

-k

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

-t

Inhibits map nickname translation.

-ddomain

Specifies the NIS domain. If this option is not used, the NIS domain is assumed to be the domain named in the DEFAULT_NIS_DOMAIN environment variable.

-h nisServer

Sends a request to the server name represented by the nisServer variable. The -h option broadcasts the request to all other NIS servers in the domain specified with the -d option, if no server name is provided.

-x

Displays the map nickname translation table.

See Also

Concepts

Use ypcat to print values in an NIS map