To get the list of folders of a specific folder sorted by size, use the command “du” (disk usage)

For example if you want to list the folders of “/home” sorted by size:

du -sh /home/* | sort -h

Example of output:

153K    /home/michel
272M    /home/julien
18G     /home/vianney