export - set the export value of parameters


export [-p] [parameter[=value]] ...


This command is a Korn-shell built-in command.

The export(1) command sets the export attribute of the named parameters. Exported parameters are passed in the environment to executed commands. If values are specified, the named parameters are also assigned.

If no parameters are specified, the names of all parameters with the export attribute are printed one per line, unless the -p option is used, in which case export(1) commands defining all exported parameters, including their values, are printed.