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