list the size of folders linux code example Example 1: linux command to list directory size sudo du -sh /var Example 2: check directory size du -sh /home/george