Hi,
When i login as 'oracle' userĀ or execution of .bash_profile , i am getting following warning message.
How do i remove this error ?
# su - oracle
-bash: /home/oracle: is a directory
-bash: /home/oracle: is a directory
[oracle@SERVER1 ~]$ cat .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
export PATH=$ORACLE_HOME/bin:$PATH
export EDITOR=vi
#. oraenv
$ . .bash_profile
-bash: /home/oracle: is a directory
-bash: /home/oracle: is a directory