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`
|
Reference in New Issue
Block a user