get folders size linux code example Example: how to check folder size in linux # show all folder size in the current directory du -h --max-depth=1