Free up disk space on Linux
Time 8 min
Level Intermediate
Updated
The usual causes of a full disk on Linux are the apt cache, system logs and old Snap package revisions.
Check available space
df -h /
bashLook at the Use% column. Above 90%, it's time to clean up.
Find the largest folders
du -h --max-depth=1 ~ | sort -hr | head -15
bash