feed-image  ISSN 1836-5930



Receive Your Complimentary Guide to Linux NOW!


A Newbie's Getting Started Guide to Linux

Linux from Scratch - Create Your Own Linux System - Free eBook

The GNU/Linux Advanced Administration

A Complete Beginner's Manual for Ubuntu 10.04 (Lucid Lynx)




Poll

Do you care about your privacy when using a FACEBOOK?
 

linuxconfig.org
is hosted by:



Partner Linux Sites
TuxMachines
DebianAdmin
Monsterb
LinuxBloggers
AdamsInfo
LinuxScrew
FreeSoftwareLinux
All For Linux

export
Article Index
1. Name
2. Synopsis
3. Examples

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