Unset

Unset

unset is a builtin Unix shell command implemented by both the Bourne shell family of shells (sh, ksh, bash, etc.) and the C shell family of shells (csh, tcsh, etc.). It unsets a shell variable, removing it from memory and the shell's exported environment. It is implemented as a shell builtin, because it directly manipulates the internals of the shell.

Read more about Unset.