Simple Command to Check Folder Size on Linux
Simple command to check folder size on Linux:
-
du -ah FOLDER_NAME where du - Disk Usage a - All Files h - Human Readable Format
-
To get top level directory size, just use du -h FOLDER_NAME
-
You can control depth of directories using --max-level du --max-depth=2 -h FOLDER_NAME
More Options:
du MAN PAGE