JAEN

Linux

tree

SafeDirectory tree view

tree -L 2

Shows the hierarchy as a tree. -L limits depth, -a includes hidden files. Great for documentation.

Examples

  • tree -L 2 -d /etcDirs only, 2 levels

Syntax

tree [-L depth] [-a] [path]

Before you run it

Read only.

Related commands

  • lsList directory
  • findFind files
  • duDirectory size

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store