Search for a string pattern (word, text, number) in files

How to search for a certain word, text, or number (text pattern) in all files.

Search in the whole filesystem:

grep -r "TEXTPATTERN" /

Search in a certain folder (home folder):

grep -r "TEXTPATTERN" /home
Cookies make it easier for us to provide you with our services. With the usage of our services you permit us to use cookies.