The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
how to find the number of files
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
how to find the number of files
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
10-06-2007
matrixmadhan
Technorati Master
Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,957
Quote:
a/b/c> ls a/d/e/*.txt *.dat | wc -l
this would display *.txt files from a/d/e and *.dat files from a/b/c
try this
Code:
ls a/d/e/*.txt a/d/e/*.dat
matrixmadhan
View Public Profile
Find all posts by matrixmadhan
Find matrixmadhan's past nominations received
Find matrixmadhan's present nominations given