Oracle .bash_profile

# .bash_profile

# Get the aliases and functions

if [ -f ~/.bashrc ]; then

        . ~/.bashrc

fi

export TMP=/tmp

export TMPDIR=$TMP

export ORACLE_BASE=/home/oracle/app/oracle    

export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1

export ORACLE_SID=Perfectuser

export ORACLE_TERM=xterm

export ORACLE_UNQNAME=Perfectuser

export PATH=/usr/sbin:$PATH      

export PATH=$ORACLE_HOME/bin:$PATH   

umask 022

set -o vi

alias vi=vim

if [ $USER = "oracle" ]; then

  if [ $SHELL = "/bin/ksh" ]; then

    ulimit -p 16384

    ulimit -n 65536

  else

    ulimit -u 16384 -n 65536

  fi

fi

你可能感兴趣的:(Oracle)