I am using export to set an environment variable.
export OPCON_VERBOS=${vb}
How can I then unset it later so that it stops being define anymore?
unset OPCON_VERBOS
or
OPCON_VERBOS=
or
OPCON_VERBOS=""
The unset
removes the environment variable (and its value). The others keep the environment variable, but remove its value.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments