How to check directory size in Linux

How to check directory size in Linux

DU command uses for disk uses you can use du command to check directory size.

for example you want to check directory size of a folder  "database"
use -h for size in MB GB etc 

# du -h ./database/
17G     ./database/

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