The export builtin command
export [-fn] [NAME[=VALUE] ...] export -p
export builtin command is used to mark variables or functions referenced by
NAME for automatic export to the environment. If
NAME is a shell variable, a value
VALUE can be assigned before exporting it.
|refer to shell functions|
|remove the export property from any referenced
|print all exported variables, with
An argument of
-- disables further option processing.
Set the display to use when launching a GUI application (useful during SSH sessions):
Set your default text editor (e.g. SublimeText):
- in POSIX®, only the
-poption is specified
- in POSIX®, only variables (with value assignment) are to be exported, not shell functions