Forrest logo
back to the grep tool

grep:ai:1bca1

in fedora recursively search text files for the word girlfriend
$ grep -r 'girlfriend' *.txt
try on your machine

This command will recursively search for the word 'girlfriend' in all text files in 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:

  • in fedora recursively search text files for the word girlfriend?
back to the grep tool