Posted on 15. 04. 202515. 04. 2025 by erolSort du output by folder sizeEasiest way to sort subdirectory sizes:du -h -d 1 |sort -k1 -rhWhere du -h -d 1 is used to show human readable format (-h) and only 1st level of subdirectory (-d 1).