Sample Header Ad - 728x90

List files sorted by the number of lines they contain

51 votes
6 answers
38346 views
How can I list the number of lines in the files in /group/book/four/word, sorted by the number of lines they contain? The ls -l command lists the files but does not sort them.
Asked by Ken R (549 rep)
Nov 27, 2014, 12:31 PM
Last activity: May 16, 2023, 02:30 PM