Last updated on March 20th, 2020 at 08:41 pm
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
Last updated on March 20th, 2020 at 08:41 pm
I need to find some string in all folders.
[code lang=”bash”]
grep -rnw ‘./folder/’ -e “search-text”
[/code]
Note: