리눅스/기타

bash-3.2$ 수

Rohin 2014. 11. 23. 11:27
반응형

일반계정 로그인시 쉘이 bash-3.2$ 로 나오는 경우가 있다. 

정상적인모양은 [test@localhost ~]$ 이다. 


/etc/profile 에 아래의 내용을 추가 


if [ -x /usr/libexec/path_helper ]; then 

        eval `/usr/libexec/path_helper -s` 

fi 


if [ "${BASH-no}" != "no" ]; then 

        [ -r /etc/bashrc ] && . /etc/bashrc 

fi 



source /etc/profile    명령어를 ?