# What's Filling My Disk? du and df

du shows how much disk space each file and folder takes, sort -h puts those sizes in order with the biggest first, and df shows how much room is left on the drive.

![Cheat sheet for the lesson What's Filling My Disk? du and df: du shows how much disk space each file and folder takes, sort -h puts those sizes in order with the biggest first, and df shows how much room is left on the drive.](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/ff721dd22ecc49bb9512ac483017486d.webp)

- Category: Bash
- Level: Apprentice
- Tags: df-and-du, file-system, linux, pipe, unix
- Updated: November 10, 2026

Source: https://www.ask-codey.com/cheat-sheets/bash-disk-space-cheat-sheet
