list files and sort it by numbers of lines

[pene@donunix] ls * | xargs wc -l | sort -n

No comments: