tree

From RaySoft

tree is a recursive directory listing program that produces a depth indented listing of files. [...] With no arguments, tree lists the files in the current directory. When directory arguments are given, tree lists all the files and/or directories found in the given directories each in turn. Upon completion of listing all files/directories found, tree returns the total number of files and/or directories listed.[1]

Documentation

Syntax

tree [PARAMETER ...] [DIRECTORY ...]

Parameters

-L LEVEL
Max display LEVEL of the directory tree.

References

  1. man 1 'tree'