space usage

Recently came across one of my linux VM machines that ran out of disk space. But where did all the space go? What ate it up?

du -h <dir> | grep ‘[0-9\.]\+G’

This will list a sorted view of the foles/folders from largest to smallest.

(SOURCE)

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.