Shell/Bash: find text in folder Example


Shell/Bash Example: This is the "find text in folder" Example. compiled from many sources on the internet by

find text in folder

grep -rnw '/path/to/somewhere/' -e 'pattern'

linux find file containing text

# syntax 
# find * -name '*' -exec grep '*' {} /dev/null \;

# example
find 'C:/Users/JacquesK' -name '*.*' -exec grep 'Random text to find' {} /dev/null \;

* Summary: This "find text in folder" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!