GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
UNSET(1) Korn Shell UNSET(1)

unset - unset values and attributes of variables and functions

unset [flags] name...

For each name specified, unset unsets the variable, or function if -f is specified, from the current shell execution environment. Readonly variables cannot be unset.

-n
If name refers to variable that is a reference, the variable name will be unset rather than the variable it references. Otherwise, is is equivalent to -v.
-f
aname refers to a function name and the shell will unset the function definition.
-v
name refers to a variable name and the shell will unset it and remove it from the environment. This is the default behavior.

0
All names were successfully unset.
>0
One or more name operands could not be unset or an error occurred.

declare(1), typeset(1)

David J. Korn, et. al.

2019, David J. Korn, et.al.
October 3, 2019

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.