How do I grep a directory?

How do I grep a directory?
Answer
GREP: Global Regular Expression
Print/Parser/Processor/Program. You can use this to search the current directory. You can specify -R for “recursive”, which means the program searches in all subfolders, and their subfolders, and their subfolder’s subfolders, etc. grep -R “your word” .
 

Tìm kiếm

Back
Top