메뉴 건너뛰기

Bigdata, Semantic IoT, Hadoop, NoSQL

Bigdata, Hadoop ecosystem, Semantic IoT등의 프로젝트를 진행중에 습득한 내용을 정리하는 곳입니다.
필요한 분을 위해서 공개하고 있습니다. 문의사항은 gooper@gooper.com로 메일을 보내주세요.


내가 사용하는 bash의 PS1 설정

export PS1="[e[36;1m]u@[e[32;1m]h:[e[31;1m]w:> [e[0m]"


추가로 .bash_profile 에 다음 내용도 등록해 놓는다.

export PS1="[e[36;1m]u@[e[32;1m]h:[e[31;1m]w:> [e[0m]"
export TERM=linux
export LC_MESSAGES=en_US
 
alias vi='vim $*'
alias mvn='/usr/local/apache-maven-3.0.4/bin/mvn'


사용자 등록시마다 자동으로 위 설정이 반영되게 하려면 /etc/skel/.bash_profile 을 수정한다.

# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi
# User specific environment and startup programs
export PS1="[e[36;1m]u@[e[32;1m]h:[e[31;1m]w:> [e[0m]"
export TERM=linux
export LC_MESSAGES=en_US
alias vi='vim $*'
PATH=$PATH:$HOME/bin
export PATH



A personal place to organize information learned during the development of such Hadoop, Hive, Hbase, Semantic IoT, etc.
We are open to the required minutes. Please send inquiries to gooper@gooper.com.

위로