How to limit depth with tree command

From razwiki
Jump to navigation Jump to search
sandbox $ tree -L 2
.
├── dir-a
│   └── dir-b
└── file