Contents[Hide]

1. Name

export - set an environment variable

2. Synopsis

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

3. 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


Go to top