GeneralSolution

Beginner

Check disk usage on Linux

Measure free space, find the largest directory and verify its size.

Check the file system

Run df on your home directory to see the file system it uses. Read Avail for free space and Use% for the share already used.

LC_ALL=C df -hT -- "$HOME"

Sort directories by size

Use du to measure each top-level directory. The -x flag stays on the current file system and sort -h understands human-readable sizes.

du -xh -d 1 -- "$HOME" | sort -h

Confirm a candidate directory

Replace the example name with a directory you saw in the previous output. Check its total independently and use that figure to decide what to review next.

du -xsh -- "$HOME/Videos"