Monday, June 22, 2009

Find words in each files..

This is something useful command when you want to scan hundreds of file for 1 specified words..
Such as.. you have thousands of files.. and you want to check which file consists "kame" words inside the files..
This is the commands..

grep -n -r 'kame' *

No comments: