Wiki source for CommandUnset


Show raw source

======Command unset======

====Name====
**unset** unsets environment variables

====Synopsis====
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]]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki