Help answer threads with 0 replies.
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 10-05-2008, 10:01 AM   #1
LQ Newbie
Registered: Jul 2006
Posts: 22

Rep: Reputation: 15
Environment Variable

I use Fedora 9.
I added an environment variable to .bashrc and .bash_profile,
but a program which needs this variable doesn't find it!?

I guess I'd to add it somewhere else, but where?
Please Help, Thank You
Old 10-05-2008, 11:14 AM   #2
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Did you source your .bashrc/.bash_profile (e.g. by running ". .bashrc") after making the changes? Those files are only read once (when the shell is started), so after making changes, you either need to restart the shell or "source" the files, as alluded to above.


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
Environment Variable linux_linux Linux - Newbie 4 03-20-2008 11:16 PM
environment variable gamor Linux - Newbie 4 04-30-2005 06:28 PM
Environment Variable salmanucit Linux - Software 2 07-21-2004 03:27 AM
environment variable mimi Linux - Newbie 1 04-10-2002 09:29 AM
environment variable mimi Linux - General 2 04-10-2002 08:45 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:07 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration