Unset

From Linux Shell Scripting Tutorial - A Beginner's handbook
Jump to: navigation, search
← Export VariablesHomeGetting User Input Via Keyboard →

Use unset command to delete the variables during program execution. It can remove both functions and shell variables.

vech=Bus
echo $vech
unset vech
echo $vech
← Export VariablesHomeGetting User Input Via Keyboard →