How to find what is taking up disk space (du utility)

Usage of “du” command is easy and pretty intuitive. This command will show what files are taking up disk space and how much.

To use this command, you should connect to your server and to type:

du -h 

This command will show how much space is taken up in the directory that you are currently in. -h is for a human-readable format.

If you want to check a whole server, you should type:

du -h /

To check specific folder – type:

du -h MyFolder

Powered by BetterDocs