If you want to get a list of the directories and their sizes in a list format then siply use the below:
du -h --max-depth=1
--max-depth=1 is a bit too long for your taste, you can also try using:
du -h -s *
--summarize) and will only print the size of the folder itself by default. By passing all elements in the current working directory (
*), it produces similar output as
The difference is subtle. The former approach will display the total size of the current working directory and the total size of all folders that are contained in it… but only up to a depth of 1.