terminal view size of current directory code example
Example 1: terminal list with folder dimension
$ du -sh */
788K foo/
500K bar/
931K baz/
Example 2: check folder size in linux terminal
du -sh /home/user/
$ du -sh */
788K foo/
500K bar/
931K baz/
du -sh /home/user/