Environment Variables Problem in linux [message #321604] |
Tue, 20 May 2008 19:33 |
harry07
Messages: 61 Registered: June 2007 Location: now york
|
Member |
|
|
Hi Forum
I have created a .bash_profile in oracle user whose default shell is bash.
When the user oracle log in, it doesnt source the environment variable in .bash_profile.
But if I put the same variable in .profile, it export them and source them.
Can anyonne please explain why its behaving like that & any steps to make my .bash_profile work instead of .profile.
Is there something that linux check for .profile of a user first when it log in & if there is no .profile then it goes for .bash_profile.
Thanks a lot in advance....
|
|
|
|
|