Comments on How to find big files and directories?
Post
How to find big files and directories?
You've just run df -h
and are shocked how little disk space you got left. You'd like to find where all the space has gone.
How to find big(est) files and directories on your system? (So that you can try to free up space.)

Stuff that takes up a lot of space, usually doesn't come packaged in a single file. It may be a single directory with subfolders and files, or it may be different directories spread around the file system. If you're looking to free up space, simply hunting for the single largest files, isn't so effective.
The question does say "files and directories".
I guess the question title imprinted itself in me. Perhaps better off just rephrasing to "sort file system contents by size".

This community is part of the non-profit Codidact network. We have other communities too — take a look!
You can also join us in chat!
Want to advertise this community? Use our templates!
Like what we're doing? Support us! Donate
1 comment thread