Export


From Linuxconfig.org

Jump to: navigation, search

.. back to the list of Linux Commands

Name

export - set an environment variable

Synopsis - man page

export [-fn] [-p] [name[=value]]

Examples

Most common use of export is to export user's PATH environmental variable. In this example we add /linux/scripts directory to our PATH environmental variable:

PATH=$PATH:/linux/scripts
export PATH

Image:export_path_with_export_linux_command.gif

.. back to the list of Linux Commands

Personal tools
Linux Commands