unset

Purpose

Use the unset command to undefine a variable.

See Also:

Syntax

unset::=

unset variable-name...

Semantics

variable-name

Specifies the name of the variable that you want to undefine.

Example

Example 2-157 unsets the drive variable.

Example 2-157 Undefining a Variable

ob> show drive
drive          tape1
ob> unset drive
ob> show drive
drive          (not set)