The classic `tree` command falls short by dumping an unreadable list that doesn't fit the terminal. A better alternative is `broot`, aliased as `tree`, which uses Breadth-First Search to generate a directory overview that always fits the screen. It supports flags for showing file sizes (`-s`), hidden files (`-h`), gitignored files (`-i`), permissions, dates, and a custom height (`--height`). Installation involves setting up `broot` and adding a simple shell function to `.bashrc` or `.zshrc`. For interactive exploration, `broot` itself offers search, preview, and file management on top of the same BFS overview.

3m read timeFrom dystroy.org
Post cover image
Table of contents
Usage OverviewInstallInteractive Exploration

Sort: