Unix find command to find the file with matched pattern
It finds and displays the file name and where the matching occurs
It searches in current directory and its sub directories, and in all files where the file contains WIP_OSP in any case
find . -name "*.*" -exec grep -i "WIP_OSP" {} \; -print
It finds and displays the file name and where the matching occurs
It searches in current directory and its sub directories, and in all files where the file contains WIP_OSP in any case
find . -name "*.*" -exec grep -i "WIP_OSP" {} \; -print
No comments:
Post a Comment