Up: Tutorials
To list subdirectories in a current directory in the order of decreasing size,
$ du -lh | sort -rh > list.txt
$ head -5 list.txt
252G .
192G ./Temp
25G ./Logs/CBS
25G ./Logs
15G ./winsxs