Posted in Command Line, Linux Command to Sort Files by Size Binny V A February 1, 2008 Leave a Comment on Command to Sort Files by Size Show size of the files and directories sorted by size du -sk * | sort -rn Author: Binny V AA philosopher programmer who specializes in backend development and stoicism.