how to check the file size of a directory in ubuntu code example Example: ubuntu get folder size du -hs /path/to/directory