tree
Displays an indented directory tree, in color
Platforms: Linux · Last verified September 6, 2026
Tree is a recursive directory listing command that produces a depth indented listing of files, which is colorized ala dircolors if the LS_COLORS environment variable is set and output is to tty.
Only use this tool against systems you own or are explicitly authorized to test — see the disclaimer.
Getting started
Install on Kali Linux with `sudo apt install tree`. See the official Kali tool page and upstream homepage linked above for full usage and configuration details.