Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Comments on How to find big files and directories?

Post

How to find big files and directories?

+5
−1

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.)

History

1 comment thread

Stuff that takes up a lot of space, usually doesn't come packaged in a single file. It may be a singl... (5 comments)
Stuff that takes up a lot of space, usually doesn't come packaged in a single file. It may be a singl...
Andreas‭ wrote almost 2 years ago

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.

Monica Cellio‭ wrote almost 2 years ago

The question does say "files and directories".

Iizuki‭ wrote almost 2 years ago

Yeah I just wanted to keep the subject concise.

Andreas‭ wrote almost 2 years ago

I guess the question title imprinted itself in me. Perhaps better off just rephrasing to "sort file system contents by size".

Iizuki‭ wrote almost 2 years ago

Added directories to the title.