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


Free Linux eBooks

Do you have the right skills?

Our IT Skills Watch page reflects an up to date IT skills demand leaning towards the Linux and Unix environment. We have considered a number of skills and operating systems.

See the result...

Linux Online Training

Learn to run Linux servers and prepare for LPI certification with Linux Academy. 104 available video lessons with PDF course notes with your own server!

Go to top