How do I use grep to search all folders?

Tam ca

New member
How do I use grep to search all folders?
Answer
To Search Subdirectories
To include all subdirectories in a search,
add the -r operator to the grep command. This command prints the matches for all files in the current directory, subdirectories, and the exact path with the filename.
 

Tìm kiếm

Back
Top