mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-01 05:21:06 +01:00
12 lines
273 B
Plaintext
12 lines
273 B
Plaintext
|
# To display a recursive directory tree
|
||
|
tree
|
||
|
|
||
|
# To make tree output contents from path `/foo/bar`
|
||
|
tree /foo/bar
|
||
|
|
||
|
# To make tree omit any empty directories from the output
|
||
|
tree --prune
|
||
|
|
||
|
# To list directories only (`-d`), and at a max depth of two levels (`-L`)
|
||
|
tree -d -L 2
|