System/Common

PATH 환경변수 우선순위

linuxism 2012. 4. 5. 13:05

PATH 환경변수 우선순위

리눅스(CentOS)의 경우 아래와 같은 순서로 PATH 환경변수를 만들어 가는 것 같다.

1. /etc/profile

2. /etc/profile.d/*

3. ~/.bash_profile

4. ~/.bashrc

5. /etc/bashrc