-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
48a0f3c
commit e93edc6
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
sidebar_position: 5 | ||
--- | ||
|
||
# tree 명령어 사용팁 | ||
|
||
폴더의 하위 구조를 계층적으로 표시할 때 사용 | ||
|
||
1. 표시할 depth제한 | ||
|
||
- -L(Level) 옵션뒤에 depth 2까지 표시 | ||
|
||
``` | ||
tree -L 2 | ||
``` | ||
|
||
2. directory만 표시 | ||
|
||
``` | ||
tree -d | ||
``` | ||
|
||
3. 특정폴더 제외 | ||
|
||
``` | ||
tree -I "node_modules" | ||
``` |