How do I grep all files in a directory?

How do I grep all files in a directory?
Answer
To grep All Files in a Directory Recursively, we need to
use -R option. When -R options is used, The Linux grep command will search given string in the specified directory and subdirectories inside that directory. If no folder name is given, grep command will search the string inside the current working directory.
 

Tìm kiếm

Back
Top