terminal list files with folder size code example Example: terminal list with folder dimension $ du -sh */ 788K foo/ 500K bar/ 931K baz/