this post was submitted on 22 Jul 2024
33 points (90.2% liked)

linux4noobs

2393 readers
1 users here now

linux4noobs


Noob Friendly, Expert Enabling

Whether you're a seasoned pro or the noobiest of noobs, you've found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux's ongoing evolution.


Seeking Support?

Community Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Kalcifer@sh.itjust.works 13 points 11 months ago* (last edited 11 months ago) (17 children)

You can try using # du -h -d 1 / to locate the largest directory under /. Once you've located the largest directory, replace / with that directory. Repeat that until you find the culprit (if there is a single large directory).

EDIT (2024-07-22T19:34Z): As suggested by @DarkThoughts@fedia.io, you can also use a program like Filelight, which provides a visual and more comprehensive breakdown of the sizes of directories.

[–] DarkThoughts@fedia.io 15 points 11 months ago (5 children)

You can use Filelight which is much simpler and more visual.

[–] NostraDavid@programming.dev 2 points 11 months ago (1 children)

ncdu for the terminal. Also enables you to delete folders/files.

[–] oscar@programming.dev 1 points 11 months ago

gdu is another alternative. It is sometimes faster than ncdu for me.

load more comments (3 replies)
load more comments (14 replies)