unset

The unset command remove or resets an environment variable.

Command Format

unset name

where:

name name of variable to remove or reset

Functional description

The unset command unsets an environment variable. If the variable is one of the system variables and has a default value the variable will be set to the default value.

Environment

The command changes the environment variables.

See Also

The set, eset and resetenv commands.