Java Vibes..

June 28, 2009

Unix Find and Grep

Filed under: unix tips — harjitdelhi @ 1:55 pm
Tags: , ,

A lot of times we have to recursively find files and grep some text in each of the files, here is a handly command to do so:

find . -name “*.log” -exec grep “mytext” {} \;


Create a free website or blog at