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
Portal
Register
Forum Rules
FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
how to find the number of files
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
10-06-2007
matrixmadhan
Technorati Master
Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,573
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