I need to find some string in all folders.
[code lang=”bash”]
grep -rnw ‘./folder/’ -e “search-text”
[/code]
Note:
- -r is recursive
- -n is line number
- -w stands match the whole word
I need to find some string in all folders.
[code lang=”bash”]
grep -rnw ‘./folder/’ -e “search-text”
[/code]
Note: