com.sun.enterprise.admin.cli.unset.1 Maven / Gradle / Ivy
unset(1) asadmin Utility Subcommands unset(1)
NAME
unset - removes one or more variables from the multimode environment
SYNOPSIS
unset [--help] variable-list
DESCRIPTION
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.
OPTIONS
--help, -?
Displays the help text for the subcommand.
OPERANDS
variable-list
A space-separated list of the environment variables to remove.
EXAMPLES
Example 1, Listing the Environment Variables That Are Set
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
Example 2, Removing an Environment Variable
This example removes the AS_ADMIN_PREFIX environment variable.
asadmin> unset AS_ADMIN_PREFIX
Command unset executed successfully
EXIT STATUS
0
subcommand executed successfully
1
error in executing the subcommand
SEE ALSO
export(1), multimode(1)
asadmin(1M)
Jakarta EE 10 20 Dec 2010 unset(1)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy