linux count size of directory code example Example: how to get the size of directory in linux du -sh /var