command to check the total size of a directory in linux code example
Example 1: linux how to see directory data usage
du -hs * | sort -rh
Example 2: check directory size
du -sh /home/george
du -hs * | sort -rh
du -sh /home/george