I know about
grep -rin 'text' /path/to/direcotry
But I dont want to look up in all the files . I just need to check for occurrence of 'text' in all files named wscript. How can that be done ?
|
|
|
man grep:
so try this:
|
|||
|
|
|
|||||||||||||||
|
It works only with text files, though. |
|||
|
|