"~/.profile"의 두 판 사이의 차이

 
(다른 사용자 한 명의 중간 판 3개는 보이지 않습니다)
1번째 줄: 1번째 줄:
;/root/.profile
;/root/.profile
;.profile
;.profile
==개념==
*.profile 파일은 홈($HOME) 디렉토리에 존재함
* 개개인의 작업 환경 설정이 가능함
*.profile 은 점으로 시작하는 숨겨진 파일로 존재
* /etc/profile 파일에 설정된 변수에 우선함


==내용==
==내용==
17번째 줄: 22번째 줄:
==같이 보기==
==같이 보기==
*[[$BASH]]
*[[$BASH]]
*[[/root/.bashrc]]
*[[~/.bashrc]]
*[[mesg]]
*[[mesg]]


[[분류: 우분투]]
[[분류: 우분투]]
[[분류: /root]]
[[분류: /root]]
[[분류: ~]]

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 }}