Forrest logo
back to the grep tool

grep:ai:6aee5

Find text string from text files of .rtf .txt .pdf.
$ grep -r 'text string' . --include=*.rtf --include=*.txt --include=*.pdf
try on your machine

Searches for the text string in all files with extensions .rtf, .txt, and .pdf within the current directory and its subdirectories

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • Find text string from text files of .rtf .txt .pdf.?
back to the grep tool