Linux Find Directories Consuming The Most Data

If you want to find out which directories on your Linux box that is gobbling up all of your disk space, use this command.

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

If you want to check the current directory, don’t include a

Share Button