Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-28-2004, 07:45 AM   #1
Registered: Mar 2004
Distribution: Debian 'Sarge'
Posts: 168

Rep: Reputation: 30
What files are amended when you do a EXPORT?

Eg. EXPORT PATH=$PATH:/usr/local/bin

To which files is the above line "PATH=$PATH:/usr/local/bin" added to?

Thanks !
Old 03-28-2004, 08:03 AM   #2
Registered: Mar 2004
Location: Denmark
Distribution: Gentoo, Slackware
Posts: 333

Rep: Reputation: 30
I don't think it does change any files.

If you want to set up environment variables that are retained after a reboot, you should add them to your bash profile (edit /etc/profile as root to change for all users - you can also create a profile for each user).

Hope this helps,
Old 03-28-2004, 02:41 PM   #3
LQ Addict
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
It's also typically a lowercase "export"


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Export Files from Linux to Windows dubya Linux - Software 4 06-15-2005 01:59 PM
export sys_call_table eltn Programming 3 10-25-2004 04:57 AM
NFS doesn't export everything ejoftheweb Linux - Networking 5 09-03-2004 04:29 AM
keep my export variables captain-cat Linux - Newbie 9 06-23-2004 06:22 AM
Export Command choawk Linux - General 1 06-06-2003 02:26 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration