- /root/.profile
- .profile
1 개념[ | ]
- .profile 파일은 홈($HOME) 디렉토리에 존재함
- 개개인의 작업 환경 설정이 가능함
- .profile 은 점으로 시작하는 숨겨진 파일로 존재
- /etc/profile 파일에 설정된 변수에 우선함
2 내용[ | ]
Bash
Copy
# ~/.profile: executed by Bourne-compatible login shells.
if [ "$BASH" ]; then
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
fi
mesg n
3 같이 보기[ | ]
편집자 Jmnote John Jeong
로그인하시면 댓글을 쓸 수 있습니다.