mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-01-07 01:29:55 +03:00
Add tree command docs.
This commit is contained in:
parent
c92c84e2df
commit
c25dc96b5d
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…
Reference in New Issue
Block a user