set, unset, setenv, unsetenv, export — Shell Environment Variable Built-in Functions
Synopsis
sh
set [--aefhkntuvx [argument...]] unset [name...] export [name...]
csh
set [var [= value]] set var[n] = word unset pattern setenv [VAR [word]] unsetenv variable
ksh
set [+aefhkmnopstuvx][+o option]... [+A name] [arg...] unset [-f] name... ** export [name[= value]]...
Description
Bourne Shell
The Bourne shell set command has the following options.
-a | Mark variables that are modified or created for export. |
-e | Exit immediately if a command exits with a non-zero exit status. |
-f | Disable file-name generation. |
-h | Locate and remember function commands as you define functions (function commands are normally located when the function is executed). ... |
Get Solaris™ 7 Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.