Results 1 to 6 of 6
How to find a word from different files in linux ?
Is there any command like (find . / -name *****), that can search files in the system for a ...
- 12-22-2010 #1Just Joined!
- Join Date
- Dec 2010
- Posts
- 3
finding a word from different files in linux
How to find a word from different files in linux ?
Is there any command like (find . / -name *****), that can search files in the system for a particular word in Linux?
Please help.....
- 12-22-2010 #2Just Joined!
- Join Date
- Dec 2010
- Location
- India
- Posts
- 45
- 12-22-2010 #3Just Joined!
- Join Date
- Dec 2010
- Posts
- 3
- 12-22-2010 #4Just Joined!
- Join Date
- Dec 2010
- Location
- India
- Posts
- 45
your question is not clear to me can u give example
what exactly you want
- 12-22-2010 #5Just Joined!
- Join Date
- Dec 2010
- Location
- India
- Posts
- 45
i guess u want the name of the files which have the word "CAT" in it
u can do that using grep
grep -iRn "CAT" *
for more details on grep you can do check teh man page of grep
- 12-22-2010 #6Just Joined!
- Join Date
- Dec 2010
- Posts
- 3


Reply With Quote
