Oracle GlassFish Server Reference Manual Release 3.1.2 Part Number E24938-01 |
|
|
View PDF |
removes one or more variables from the multimode environment
unset [--help] variable-list
The unset
subcommand removes one or more environment variables that are set for the multimode environment. After removal, the variables and their associated values no longer apply to the multimode environment.
To list the environment variables that are set, use the export
subcommand without options. If the export
subcommand lists no environment variables, no environment variables are set.
This subcommand is supported in local mode only.
--help
-?
Displays the help text for the subcommand.
A space-separated list of the environment variables to remove.
This example uses the export
subcommand to list the environment variables that have been set.
asadmin> export
AS_ADMIN_USER = admin
AS_ADMIN_HOST = bluestar
AS_ADMIN_PREFIX = server1.jms-service
AS_ADMIN_PORT = 8000
Command export executed successfully
This example removes the AS_ADMIN_PREFIX
environment variable.
asadmin> unset AS_ADMIN_PREFIX
Command unset executed successfully
subcommand executed successfully
error in executing the subcommand