Name

export - set an environment variable

Synopsis

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
export user's PATH environmental variable
ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed on LinuxCareers.com.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in: