Unset

From Linux Shell Scripting Tutorial - A Beginner's handbook
Revision as of 22:50, 29 March 2016 by Admin (talk | contribs) (Text replacement - "</source>" to "</syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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 →