Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Community
Search
Login
Register
Webmaster's Community
»
Designing and Development
»
Programming
»
Finding a word using grep in group of files
« previous
next »
Print
Pages: [
1
]
Author
Topic: Finding a word using grep in group of files (Read 11708 times)
Savera
Full Member
Posts: 159
Finding a word using grep in group of files
«
on:
September 30, 2011, 05:56:02 AM »
I am wondering how using grep command I can search for particular word or string in group of files. I need to find some code in bunch of file. I know it is there but I don't know which file exactly holds it !
Logged
{advert.}
Jaffery
Administrator
Full Member
Posts: 158
Re: Finding a word using grep in group of files
«
Reply #1 on:
October 03, 2011, 09:38:10 AM »
grep -r <your word> should search all files in current directory for given word.
Logged
Print
Pages: [
1
]
« previous
next »
Webmaster's Community
»
Designing and Development
»
Programming
»
Finding a word using grep in group of files
X
Do you know?
Just make posts in this community and win .com / .org / .net domain name free.
Know more..
Join Now!
Copyright ©
Webmaster's Community - IfandBut.com
Privacy Policy
Terms
Advertise
Contact us
Top
anything