linux show directory content size code example
Example 1: linux how to see directory data usage
du -hs * | sort -rh
Example 2: Get the size of all the directories in current directory in linux
du -h --max-depth=1
du -hs * | sort -rh
du -h --max-depth=1