Skip to content

Commit

Permalink
update command tree in Tips
Browse files Browse the repository at this point in the history
  • Loading branch information
WanderedToLa committed Jul 14, 2024
1 parent 48a0f3c commit e93edc6
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docs/Tips/command-tree.md
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"
```

0 comments on commit e93edc6

Please sign in to comment.