33
(SOLVED) Where did all my space go?
(lemmy.world)
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.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
The bit of information you're missing is that
duaggregates 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!