.bash_profile (linux)
hi,
practicing installation oracle database 11g on oracle linux.
I am setting the oracle user environment
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
ORACLE_SID=ORCL
LD_LIBRARY_PATH=$ORACLE_lib
PATH=$PATH:$ORACLE_HOME/bin
on the .bash_profile.
I manage to find the hidden file via $ ls -la | grep .bash_profile
I have edit it and run the startup script with . .bash_profile
I did echo $ORACLE_BASE and saw the relevant path of my oracle base.
SO i exit out as oracle and then log in back again to env but fail to see all the setting above.
SO i did a . .bash_profile and again it echo the setting.
Question is , something is wrong, cos the correct way is, every time i log into oracle, or su to oracle, and then env , i should see my env setting.
please further advice on how to make it permanent .