LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-28-2004, 07:45 AM   #1
davidas
Member
 
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
Muzzy
Member
 
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,
Muzzy.
 
Old 03-28-2004, 02:41 PM   #3
mikshaw
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"
 
  


Reply


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


All times are GMT -5. The time now is 04:29 PM.

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