List the biggest files under a directory.
Section: Space Usage
Find largest files
bash
bash
find . -type f -printf '%s %p
' | sort -nr | head -20Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Space Usage
Directory size summary
Show total size for a directory in human-readable format.
Long listing with human sizes
Show detailed directory contents with human-readable sizes.