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