save_dz_command

Use the save_dz_command command to save the currently selected UNIX command stored in memory to Active Directory. You must save a UNIX command for any changes you make using ADEdit to take effect in Active Directory. If you select another UNIX command or end the ADEdit session before saving the currently selected UNIX command, your changes will be lost.

Zone Type

Classic and hierarchical

Syntax

save_dz_command

Abbreviation

svdzc

Options

This command takes no options.

Arguments

This command takes no arguments.

Return Value

This command returns nothing if it runs successfully.

Examples

save_dz_command

This example saves the currently selected UNIX command to Active Directory.

Before you use this command, you must have a currently selected zone stored in memory. The following commands enable you to view and select a UNIX command:

  • get_dz_commands returns a Tcl list of UNIX commands in the current zone.
  • list_dz_commands lists to stdout the UNIX commands in the current zone.
  • new_dz_command creates a new UNIX command and stores it in memory.
  • select_dz_command retrieves a UNIX command from Active Directory and stores it in memory.

After you have a UNIX command stored in memory, you can use the following commands to work with that command:

  • delete_dz_command deletes the selected command from Active Directory and from memory.
  • get_dzc_field reads a field value from the currently selected command.
  • set_dzc_field sets a field value in the currently selected command.