how to sort files .c by size in unix code example Example: ls by size ls -lS # -l to see list with sizes, -S to sort