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