create_nismap

Use the create_nismap command to create a new NIS map in the currently selected zone.

Syntax

create_nismap map key:value comment

Options

This command takes no options.

Arguments

This command takes the following arguments:

Argument Type Description

map

string

Required. Specifies the name of the new NIS map

key

string

Required. Specifies the key of the NIS map entry.

value

string

Required. Specifies the value of the NIS map entry.

comment

string

Required. Specifies the comment for the NIS map entry.

Return value

This command returns nothing if it runs successfully.

Examples

create_nismap animals {{cat:1 {The cat says "Mew\!".}} {cow:1 {The cow says "Moo\!".}}}

Related Tcl library commands

None.