'bashrc'에 해당되는 글 1건

  1. 2012.12.24 [linux] my bashrc

[linux] my bashrc

TA/Common 2012. 12. 24. 16:24

#User specific

#alias
alias vi='vim'
alias rm='rm -i'
alias ll='ls -lF --color'
alias ls='ls --color'
alias python='time python'
alias pyt='time python'
alias qstat='qstat -u "*"'
alias du='du -c'

#kimps path
export KIMPS=/home/user/kimps/
#kimps bin
export KIMPSUTILS=$KIMPS/bin/
if [ -d ${KIMPSUTILS} ]
then
   for i in ${KIMPSUTILS}/*; do
      if [ -d "$i" ]; then
         PATH=$PATH:$i/
      fi
   done
   unset i
fi
export PATH=$KIMPSUTILS:$PATH

#user bin
export USERBIN=/home/user/bin/
if [ -d ${USERBIN} ]
then
   for i in ${USERBIN}/*; do
      if [ -d "$i" ]; then
         PATH=$PATH:$i/
      fi
   done
   unset i
fi
export PATH=$USERBIN:$PATH

#exports
export PYTHONPATH=/home/user/install/Python-2.6.7/Lib/site-packages:$PYTHONPATH
export CATALINA_HOME=/home/user/install/apache-tomcat-6.0.20/
export DRMAA_LIBRARY_PATH=/opt/gridengine/lib/lx26-amd64/libdrmaa.so
export JAVA_HOME=/home/user/install/java/
export HADOOP_HOME=/home/user/install/hadoop/
export HADOOP_CLASSPATH=/home/user/install/hadoop/lib/

Posted by 옥탑방람보
,