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