LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-15-2010, 08:04 AM   #1
Ajit Gunge
Member
 
Registered: Jan 2008
Location: Pune
Distribution: RHEL,fedora
Posts: 253
Blog Entries: 1

Rep: Reputation: 21
Counting the number of cfiles in a project


Hi,
Can some one tell me how do i count the total number of cfiles in the project.My project is on a solaris machine what is the command that I have to run to know the total count of cfiles in the .pj folder.

Ajit
 
Old 06-15-2010, 08:09 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,808

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
What's a cfile? Do you mean C files?

Code:
find .pj -name "*.c" -print | wc -l
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting number of characters in a file (but not as simple as wc) bioinformatics_guy Linux - Newbie 14 09-18-2008 09:15 PM
counting the output packet number zhoufanking Programming 4 07-06-2008 02:14 AM
Counting number of system reboots rbh123 Linux - Newbie 2 11-22-2007 04:28 AM
counting number of sheets printed from a printe avirup dasgupta Linux - General 2 07-25-2005 08:36 PM
counting number of files akin81 Linux - Newbie 6 03-25-2004 02:53 PM


All times are GMT -5. The time now is 04:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration