ncdu

Interactive disk usage browser

low risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
What it does

A curses disk-usage analyzer. Navigate with arrows, press d to delete the selected item.

Common flags
FlagMeaning
-xStay on one filesystem
--exclude --excludeSkip paths
-oExport scan to a file
Examples
ncdu -x /Scan the root filesystem only · explain & risk-check →
ncdu -o scan.json /varSave a scan for later · explain & risk-check →
Related
du df lsof
Open the full explainer →More in Files & Archives

Reference text is hand-written and may be incomplete — check man ncdu for your version. Test destructive commands on a non-production system first.