# 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