Seach keyword in linux file list using grep command
24/03/2013
Article
Command
grep -r 'appa' * | awk -F " " '{print $1}'
It will list all the files which has word occurrence “appa” in it. If any file has multiple occurrences then that file will displayed on same number of time
Categories: Linux