개요
- /root/.bash profile
- ~/.bash_profile
- 사용자별 Bash 쉘 프로파일
- 사용자 쉘 환경에 대한 설정 파일
- 로그인시 적용됨
- 계정별 홈폴더에 숨은파일로 있음
기본 내용
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME