export BASH_ENV=$HOME/.bashrc
export ORACLE_BASE=/home/oracle_database
export ORACLE_HOME=/home/oracle_database/product/9.2.0
export ORACLE_SID=ora
export ORACLE_TERM=xterm
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
export LANG=zh_CN.GB2312
export LANGUAGE=zh_CN.GB2312:zh_CN.GB2312:zh_CN
export SUPPORTED=zh_CN.GB2312:zh_CN:zh:zh_TW.Big5:zh_TW:zh:en_US.UTF-8:en_US:en
PATH=$PATH:/bin:/usr/bin:/usr/sbin:/etc:/usr/ccs/bin:.
PATH=$PATH:/usr/local/samba/bin:/usr/ucb:
PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin:/home/oracle_database/product/9.2.0/bin
2、
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
ENV=$HOME/.bashrc
USERNAME=""
ORACLE_HOME=/home/oracle
LD_LIBRARY_PATH=$ORACLE_HOME/lib
ORACLE_SID=ora9
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P9
export ORACLE_SID LD_LIBRARY_PATH ORACLE_HOME NLS_LANG USERNAME ENV PATH