(MAC) 맥 터미널 경로표시 리눅스처럼 바꾸기
맥터미널 경로 표시를 리눅스처럼 바꾸어 보겠습니다.먼저 터미널에 echo $PS1을 입력하시면 \h:\W \u$로 나올 것입니다.\h 컴퓨터의 호스트 이름\W 디렉토리 경로를 표시\u 유저 이름$ 위에 터미널 사진처럼 문자 그대로 표시 입니다 (:)와 동일그외 적용가능한 프롬프트 코드는 아래와 같습니다.\a : an ASCII bell character (07)\d : the date in "Weekday Month Date" format (e.g., "Tue May 26")\D{format} : the format is passed to strftime(3) and the result is inserted into the prompt string; an empty format results in a l..
MAC
2016. 12. 3. 18:45
최근에 올라온 글
최근에 달린 댓글