How to check disk space and find what is filling it

Use df, du, ncdu and PowerShell to see free disk space and track down the directories and files consuming it.

Beginner · about 5 min · Linux, Windows, macOS

A full disk breaks logging, databases and deploys. Diagnosis is always the same two-step: check which filesystem is full, then walk down the tree to find the directory responsible.

What this guide covers

Common pitfalls covered

Questions answered

This is a limited preview. The full walkthrough, command syntax and copy-ready examples are available to signed-in users.

Sign in to read the full page