this post was submitted on 08 Oct 2025
40 points (95.5% liked)
Linux
59143 readers
425 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The bit of information you're missing is that
du
aggregates the size of all subfolders, so when you saydu /
, you're saying: "how much stuff is in / and everything under it?"If you're sticking with
du
, then you'll need to traverse your folders, working downward until you find the culprit folder:... and so on.
The trouble with this method however is that
*
won't include folders with a.
in front, which is often the culprit:.cache
,.local/share
, etc. For that, you can do:Which should do the job I think.
If you've got a GUI though, things get a lot easier 'cause you have access to GNOME Disk Usage Analyzer which will draw you a fancy tree graph of your filesystem state all the way down to the smallest folder. It's pretty handy.
GUI disk space analyzers are absolutely amazing.
For those who prefer KDE and/or donut graphs, Filelight has you covered.
Bookmarked! Thanks!