Today, I learned how to filter a specific string inside files with command find.
find ./ -type f | xargs grep -Hn "abc"
Example notes:
abc: string that I want to find
./: path where to search
Today, I learned how to filter a specific string inside files with command find.
find ./ -type f | xargs grep -Hn "abc"
Example notes:
abc: string that I want to find
./: path where to search
Top comments (0)