20201130 리눅스 tree 구조 사용해보기!

1095 단어 개발팁개발팁

tree 구조 사용해보기

apt install tree*

로 tree를 설치할 수 있다.

출처

  • 아래 명령어를 통해 사용가능
optionparam의미
-d디렉터리만 표시
-f파일의 전체 경로 표시
-iMakes tree not print the indentation lines, useful when used in conjunction with the -f option.
-IpatternDo not list those files that match the wild-card pattern.
-Ppattern List only those files that match the wild-card pattern.
-Llevel깊이 표현!
-Ntree는 ascii 가 아닌 문자는 \332 같이 8진수가 인코딩해서 표시하므로 한글이 깨져 보임.N 옵션을 추가하면 한글이 제대로 표시됨.

  • django structure

좋은 웹페이지 즐겨찾기