¸ÖƼ DB »ç¿ë½Ã .profile ¼³Á¤Çϱâ
ÀÛ¼ºÀÚ °ü¸®ÀÚ ÀÛ¼º½Ã°£ 2007-07-09 17:53:12
 

echo " "
echo " "
echo "Enter your DATABASE : 1.BIS    2.NEWBIS    3.BISRE"
echo " "
read a
if [ $a = 1 ]
then
echo " "
ORACLE_SID=BIS;export ORACLE_SID
echo "Your select is BIS!!"
echo " "
elif [ $a = 2 ]
then
echo " "
ORACLE_SID=NEWBIS;export ORACLE_SID
echo "Your select is NEWBIS!!"
echo " "
elif [ $a = 3 ]
then
echo " "
ORACLE_SID=BISRE;export ORACLE_SID
echo "Your select is BISRE!!"
echo " "
else
echo " "
ORACLE_SID=BIS;export ORACLE_SID
echo "Your select is BIS!!"
echo " "
fi

export  PS1=`hostname`'|$PWD> '
export  TERM=vt100
export HISTFILE=~/.sh_history
export HISTSIZE=10000


stty erase "^H"

# for ORACLE

umask 022
export ORACLE_BASE=/oracle
export ORACLE_HOME=/oracle
# export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib32:/usr/lib:$LD_LIBRARY_PATH
export NLS_LANG=American_America.KO16KSC5601
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export PATH=$ORACLE_HOME/bin:/usr/ccs/bin:/usr/bin:/etc:/usr/local/bin:$ORACL
E_HOME/OPatch:/oracle/JRE/bin
export PATH=$PATH:/bin:/sbin:/usr/sbin:/usr/openwin/bin:/opt/sfw/bin:/oracle/
KJH:.
export EDITOR=vi
# export PATH=/opt/SUNWspro/bin:/usr/bin:/usr/ccs/bin:/etc:/usr/sbin:/usr/ucb:/
sbin:.:/tubis/tubistux/bin:/tubis/tubistux/shell:/usr/local/bin
export LANG=ko


¸ñ·Ï | ÀÔ·Â | ¼öÁ¤ | ´äº¯ | »èÁ¦