.TH "unset" "" "" Command
.PC "Unset an environment variable or shell function"
\fBunset \fIenvironmental_variable\fR
\fBunset \fB\-f \fIshell_function\fR
.PP
The command
.B unset
unsets an environmental variable or shell function.
.PP
When used with the option
.BR \-f ,
.B unset
unsets the shell function named on the command line.
This option applies only to the Bourne shell
.BR sh .
.PP
When used without the option
.BR \-f ,
.B unset
unsets the environmental variable named on the command line.
This version of the command applies to both the Bourne shell
.B sh
and the Korn shell
.BR ksh .
.SH "See Also"
.Xr "commands," commands
.Xr "environmental variables," environva
.Xr "ksh," ksh
.Xr "sh" sh
