DataBase/Oracle2009.08.20 15:18

# .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 EDITOR=vi
export ORACLE_SID=orcl
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
export TNS_ADMIN=$ORACLE_HOME/network/admin
export NLS_LANG=American_America.KO16MSWIN949
export NLS_DATE_FORMAT="yyyy-mm-dd hh24:mi:ss"
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$ORACLE_HOME/bin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin
# export DISPLAY=192.168.1.131:0.0
umask 022

export PS1='`hostname -s`@$ORACLE_SID : $PWD> '

# Alias
alias ss="sqlplus ' / as sysdba'"
alias dbs="cd $ORACLE_HOME/dbs"
alias oh="cd $ORACLE_HOME"
alias vialert="vi $ORACLE_BASE/admin/$ORACLE_SID/bdump/alert_$ORACLE_SID.log"
alias tailalert="tail -f $ORACLE_BASE/admin/$ORACLE_SID/bdump/alert_$ORACLE_SID.log"


저작자 표시 비영리 동일 조건 변경 허락
Posted by the Creater, Shon
TAG