~/.profile

John Jeong (토론 | 기여)님의 2018년 8월 23일 (목) 11:36 판
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
/root/.profile
.profile

1 개념[ | ]

  • .profile 파일은 홈($HOME) 디렉토리에 존재함
  • 개개인의 작업 환경 설정이 가능함
  • .profile 은 점으로 시작하는 숨겨진 파일로 존재
  • /etc/profile 파일에 설정된 변수에 우선함

2 내용[ | ]

# ~/.profile: executed by Bourne-compatible login shells.

if [ "$BASH" ]; then
  if [ -f ~/.bashrc ]; then
    . ~/.bashrc
  fi
fi

mesg n

3 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}