next up previous contents index
Next: The usrset Command Up: Shell Commands Previous: The unalias Command   Contents   Index

The unset Command

The unset command will remove the definitions of shell variables, previously defined with the set command, passed as arguments.

unset [varname ...]
All of the named variables are unset (undefined). The argument may be ``*'', in which case all variables are unset (although this is usually not something that one would want to do).

Stephen R. Whiteley 2017-02-22