oracle .bash_profile

[oracle@redhat4 ~]$ vi .bash_profile

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME

export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
export ORACLE_SID=ORCL
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
export PATH=$PATH:$ORACLE_HOME/bin:.

~                                                                                                                                                                                           
                                                                                                                                       
~                                                                                                                                                                                           
".bash_profile" 19L, 388C written    

posted @ 2015-11-01 17:28  全威儒  阅读(2067)  评论(0编辑  收藏  举报