The UNIX and Linux Forums  

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



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 10-06-2007
matrixmadhan matrixmadhan is offline
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
Reply With Quote