The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
search multiple words using grep
.
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
:
search multiple words using grep
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
08-22-2008
palsevlohit_123
Registered User
Join Date: Aug 2008
Location: India-Chennai
Posts: 120
grep for "word2" you will get the 5 files.
$ find . -name "*.log" -exec grep -l "word2" {} \;
palsevlohit_123
View Public Profile
Find all posts by palsevlohit_123
Find palsevlohit_123's past nominations received
Find palsevlohit_123's present nominations given