1 Answer
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
Your Answer