mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-23 12:55:24 +02:00
Add tree command docs.
This commit is contained in:
parent
c92c84e2df
commit
c25dc96b5d
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