mkdir test-tree cd test-tree mkdir dir-1 mkdir dir-2 touch dir-1/file-1 touch dir-1/file-2 touch dir-2/file-2 touch dir-2/file-1 뭐 이런식으로 디렉토리와 파일구조를 만들었따고 치면, tree커맨드를 치면 요렇게 디렉토리와 파일이 트리구조로 보여지게된다. 근데 이거 패키지 설치해야한다. ubuntu를 쓰는데 tree커맨드가 없더라. # 설치 sudo apt-get install tree # 명령어 tree 디렉토리명 해당디렉토리의 하위디렉토리 및 파일들을 보여주게된다. tree -d 디렉토리명 디렉토리만 포함해서 보여줘~ tree -d -L 2 디렉토리명 레이어 두번째까지만 보여줘