Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

grep

Status
Not open for further replies.

malladisk

Programmer
Jun 14, 2001
69
US
Hi, How do you use grep to find files for a word such that the search includes subdirectories?
Thanks,
Sashi
 
[tt]grep[/tt] accepts an argument of [tt]-r[/tt] to make it recursive, hence digging through files in subdirectories.

//Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top