delete_dz_command
Use the `delete_dz_command command to delete the currently selected privileged command from Active Directory and from memory. You cannot use other commands to manage privileged commands after deletion because there will be no currently selected command in memory.
Zone Type
Classic and hierarchical
Syntax
delete_dz_command
Abbreviation
dldzc
Options
This command takes no options.
Arguments
This command takes no arguments.
Return Value
This command returns nothing if it runs successfully.
Examples
delete_dz_command
This example deletes the currently selected command from Active Directory and from memory.
Related Commands
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 to work with:
get_dz_commandsreturns a Tcl list of UNIX commands in the current zone.list_dz_commandslists tostdoutthe UNIX commands in the current zone.new_dz_commandcreates a new UNIX command and stores it in memory.select_dz_commandretrieves 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:
get_dzc_fieldreads a field value from the currently selected command.save_dz_commandsaves the selected command with its current settings to Active Directory.set_dzc_fieldsets a field value in the currently selected command.