Bash shell2 초기화 (스크립트)파일 실행순서

  • Bash manpage와 우분투 커뮤니티 위키의 환경변수2에 따르면 아래와 같으며, 나열한 것의 위에서부터 아래 순이다.

    /etc/profile 파일이 있는 경우 실행

    /etc/profile.d/*.sh 폴더 내 쉘스크립트 확장자(.sh)로 된 파일을, 파일명 알파뱃 순으로 실행

    ~/.bash_profile

    ~/.bashrc

    ~/.bash_login

    ~/.profile

    ~/.bash_logout 로그아웃시 실행


'IT이야기' 카테고리의 다른 글

/lib/ld-linux.so.2: bad ELF interpreter 에러 발생시  (0) 2016.08.24
VI 에디터 명령어  (0) 2016.08.17
AWS에서 Docker 설치  (0) 2016.07.14
Docker이용해서 mysql설치  (0) 2016.07.14
도커 설치 및 실행  (0) 2016.07.06

+ Recent posts