mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
20 lines
256 B
Markdown
20 lines
256 B
Markdown
![]() |
# tree
|
||
|
|
||
|
> Show the contents of the current directory as a tree.
|
||
|
|
||
|
- Show files and directories with a depth of 'num'
|
||
|
|
||
|
`tree -L {{num}}`
|
||
|
|
||
|
- Show directories only
|
||
|
|
||
|
`tree -d`
|
||
|
|
||
|
- Show hidden files too
|
||
|
|
||
|
`tree -a`
|
||
|
|
||
|
- Print human readable size of files
|
||
|
|
||
|
`tree -h`
|