mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-06 06:35:45 +02:00
commit
769bff4b02
1 changed files with 19 additions and 0 deletions
19
pages/common/tree.md
Normal file
19
pages/common/tree.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# 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`
|
Loading…
Add table
Reference in a new issue