Programming & Tools/Linux2012. 5. 2. 00:58

Linux를 설치 후 ssh을 통해서 접속 시 .bashrc가 실행이 안되는 문제가 발생하면

.bash_profile을 아래와 같이 수정해 주면 된다.

 

/home/계정 $  vi .bash_profile

 

# 마지막 줄에 추가

 

if [ -f ~/.bashrc ]; then 
 
. ~/.
bashrc 
fi 
 

 

Posted by 다크쌍피