0

How to search a Specific Pattern recursively

Hello,I just want to search a pattern and see the results from the entire directory recursively .Is that possible?

Aditya
asked Sep 25, 2019
1 Answer
0

try running the below command to search a pattern recursively.

grep -r "pattern" /var

From the above command,grep searches for the pattern entirely from the specified directory and also its sub directories

-r ---> recursive search

View More
linuxhelp
answered Sep 25, 2019
Your Answer
||||
 
100:0