export Command

The export command marks the given environment variables to be exported.

Syntax
export Lists all exported ksh variables.
export name Marks the variable name as exported.
export name=value Marks the variable name as exported and assigns it a new value.
export name1 name2... Marks the given variables as exported.
export name1=value1 name2=value2... Marks the variables name1, name2, etc. as exported and assigns them new values value1, value2, etc.

where:

name is the name of a variable.

value is the value to be assigned to variable. name

An exported variable has the attribute -x (see typeset Command).