Skip to content

tree

print the directory tree

NAME
    tree - print the directory tree

SYNOPSIS
    tree

DESCRIPTION
    Prints an indented, depth-first listing of the directory tree under
    the current working directory: two spaces of indent per level, a
    trailing slash on directories. Per-level children are capped at 24.
    tree is a /bin program.

LIMITS
    Descends at most 16 levels below the CWD, and lists at most 24
    subdirectories per level. Deeper or wider trees are silently
    truncated -- the listing simply stops, with no warning.

EXAMPLES
    tree
    cd /bin ; tree

SEE ALSO
    dir, find, cd

See also: dir, find, cd

The text of man tree on P8X (os/man/tree in the repository). All commands