LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   a pipeline for counting the lines in a directory (https://www.linuxquestions.org/questions/linux-newbie-8/a-pipeline-for-counting-the-lines-in-a-directory-534872/)

fara77 03-05-2007 05:44 PM

a pipeline for counting the lines in a directory
 
could someone please help me with a pipeline that will give me the name of a file with the most lines in a directory

i have tried wc .* and wc * to get the information about the files in a directory and it doesn't work!!! ls -l doesn't give me the number of lines either!!

fara77 03-05-2007 06:00 PM

found the answer. wc *.*


All times are GMT -5. The time now is 10:51 AM.