The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
grep syntax for this...
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
grep syntax for this...
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
02-19-2007
matrixmadhan
Technorati Master
Join Date: Mar 2005
Location: k-tier distributed caching
Posts: 2,736
Since they are within a folder
run simple grep
Code:
grep "pattern" *.*
else
Code:
find . -type f -name '*.*' -print | xargs grep -il 'pattern'
matrixmadhan
View Public Profile
Find all posts by matrixmadhan