check how much memory a directory and subdirectories linux code example Example: linux check used space in folder du -h --max-depth=1