tldr/pages/common/tree.md

20 lines
256 B
Markdown
Raw Normal View History

2014-04-14 18:56:07 +01:00
# 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`