directory of my $ORACLE_BASE is definitely WRONG.
whenever i enter a command:[oracle@oracle ~]$ cd $ORACLE_HOME
it shows the right output which is /u01/app/oracle/product/10.2.0/db_1
but when i enter this command:
[oracle@oracle~]$ cd ORACLE_BASE
it shows the output: "home/oracle" which it must be "/u01/app/oracle"
this is my .bash_profile script:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
umask 022
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
LD_LIBRARY_PATH=/usr/lib:/usr/X11R6/lib
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
it shows the right output which is /u01/app/oracle/product/10.2.0/db_1
but when i enter this command:
[oracle@oracle~]$ cd ORACLE_BASE
it shows the output: "home/oracle" which it must be "/u01/app/oracle"
this is my .bash_profile script:
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
umask 022
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
LD_LIBRARY_PATH=/usr/lib:/usr/X11R6/lib
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
0