Unix에서 파일 구조 인쇄

Unix에서 파일 구조 인쇄

Bootstrap의 시작 페이지처럼 파일 구조를 인쇄하는 방법이 Unix에 있습니까?

bootstrap/
├── css/
│   ├── bootstrap.css
│   ├── bootstrap.min.css
│   ├── bootstrap-theme.css
│   ├── bootstrap-theme.min.css
├── js/
│   ├── bootstrap.js
│   ├── bootstrap.min.js
└── fonts/
    ├── glyphicons-halflings-regular.eot
    ├── glyphicons-halflings-regular.svg
    ├── glyphicons-halflings-regular.ttf
    └── glyphicons-halflings-regular.woff

(에서http://getbootstrap.com/getting-started/#whats-included)

정확히 동일하게 인쇄하는 명령이 있습니까?

답변1

tree 명령을 살펴보세요.

http://mama.indstate.edu/users/ice/tree/

Debian과 같은 배포판의 경우:

sudo apt-get install tree

관련 정보