我在redhat5.5上安装的oracle11g 
.bash_profile文件配置内容如下:# .bash_profile# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi# User specific environment and startup programsPATH=$PATH:$HOME/binexport PATHexport ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1
export ORACLE_SID=orcl
export PATH=$ORACLE_HOME/bin:$PATH:$HOME/bin
export PATH=$ORACLE_HOME/bin:$PATH:$HOME/bin:/sbin:/usr/bin:/usr/sbin安装的过程中没有出现任何错误 但是完成以后,每次打sqlplus,dgmgrl,lsnrctl等这些命令的时候都显示commod not found; 当我source .bash_profile以后这些命令又能用了,当我又从新打开一个终端的时候 这些命令又不能用了;也就是我每次打开一个终端都要先source. .bash_profile 然后才能使用