idsenvvars

Use the idsenvvars command to manage the environment variables for Directory Server.

Description

The idsenvvars command enables you to add, modify, delete, or list environment variables and their values.

Synopsis

idsenvvars [[-a | -m] variable_name value] | [-d variable_name] | -l | [-v value]

Options

Use the following parameters with the idsenvvars command:
-a variable_name value
Adds an environment variable with the specified name and value.
-m variable_name value
Modifies the value of the specified environment variable.
-d variable_name
Deletes the specified environment variable.
-l
Lists all the environment variables.
-v value
Specifies the value of the variable that is to be added or modified.

Examples

Example 1:
To add an environment variable with the specified name and value, run the following command:
idsenvvars -a variable_name value
Example 2:
To modify the value of an environment variable, run the following command:
idsenvvars -m variable_name new_value
Example 3:
To delete the specified environment variable, run the following command:
idsenvvars -d variable_name
Example 4:
To view a list of all environment variables, run the following command:
idsenvvars -l
Example 5:
To add an environment variable with the specified name and value, run the following command:
idsenvvars -a variable_name -v value
Example 6:
To modify the value of the specified environment variable, run the following command:
idsenvvars -m variable_name -v value