Maureen Thomas [2025-03-06 20:24:36] wrote: > I am running Debian 12 fulled updated. I keep getting a message saying that > my /var is almost full. What can I safely delete to make more room for it.
Depends on all kinds of things. Questions that come to mind: - Why do you have a separate /var partition? - How big is it and how much space do you have elsewhere on the same disk? - What is that "it" that you want to make room for? David Christensen [2025-03-06 18:58:12] wrote: > I prefer: [...] > # du -d 2 -m /var | sort -rn | head Agreed. I personally use just `du | sort -n` (I can't see the benefit of the `-d2` and I rely on the terminal's scrolling to filter out the small fry instead of using `-r` and `head`). But indeed, the `-m` is a good idea, thanks (never bothered to look for such a thing). Stefan