Solved

line count on files in a directory structure

Posted on 2003-10-27
3
634 Views
Last Modified: 2010-04-21
hi, i have a depp directory structure with java sources, how can i get a line count on these files?
i tried "find * -name '*.java' | wc -" but it didn't work, anyone knows something?
0
Comment
Question by:honkinamiland
3 Comments
 
LVL 3

Expert Comment

by:rfr1tz
Comment Utility
For 20 points, I'll just tell you that you aren't even close.
0
 
LVL 29

Accepted Solution

by:
MikeOM_DBA earned 20 total points
Comment Utility
Try this:

find . -name '*.java' -exec wc -l {} \;
0
 

Author Comment

by:honkinamiland
Comment Utility
ok, thanks
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now