Find out what folders are taking up the storage

Managing servers with CLI is a bit difficult, especially if you’re not a sysadmin, but if you have an unmanaged VPS for your blog and you have a problem with full storage, you can find out what folder is consuming the storage with the following simple command:

du -h / | grep -P '^[0-9.]+G'

m/

Leave a Reply