Linux CLI find out where disk space went
From No more disk space: How can I find what is taking up the space? - Ask Ubuntu, run this as root:
du -cha --max-depth=1 | grep -E "M|G"
The grep is to limit the returning lines to those which return with values in the Megabyte or Gigabyte range.
Next one would be /var
etc.
Then there’s ncdu
and friends too.
Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus