Command unset
Name
unset unsets environment variablesSynopsis
unset [var1 ...]Description
Unsets (removes from the environment) each variable passed as an argument by name. completely removes the variable from the environment for this shell and all future subshells or external processes.Example
A="hello" echo $A unset A echo $A
Result
Hello
Commands
CategoryCommands