Tao Chen wrote:
find . -type f | xargs cat | wc -l


Why 'cat' ?

find . -type f | xargs wc -l

Just to be succinct. If you want the line count of each file, in addition to the line count of all of the files, then that will also work.




--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to