mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-22 21:52:12 +01:00
11 lines
273 B
Text
11 lines
273 B
Text
# 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
|