How to know the size of a directory?

A simple way to know what is the size of a directory using command line in human readable format.

Login to your server using SSH.

Format:
du -hs some_folder/

Ie:
du -hs public_html/

Good luck!

No Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: