The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Summary Explorer Output gryffindor SUN Solaris 3 05-15-2008 05:08 AM
How to summary one command's cpu usage? jiarong.lu HP-UX 1 02-22-2008 07:03 AM
Email to show only summary line gio001 UNIX for Dummies Questions & Answers 0 11-20-2007 10:32 AM
BRForum07 - the CEP angle (4) - Panels & Summary iBot Complex Event Processing RSS News 0 10-29-2007 02:40 PM
System Summary Tools vader UNIX for Dummies Questions & Answers 2 07-03-2002 11:28 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-01-2005
Registered User
 

Join Date: Mar 2005
Posts: 1
Directory Summary Command

Is there a unix command to provides the number of files in a directory?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-01-2005
bhargav's Avatar
Registered User
 

Join Date: Sep 2004
Location: USA
Posts: 511
ls | wc -l
Reply With Quote
  #3 (permalink)  
Old 03-01-2005
vgersh99's Avatar
Moderator
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 2,999
Quote:
Originally Posted by bhargav
ls | wc -l
the keyword was files.

find . ! -name . -prune -type f |wc -l
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:13 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0