How do I grep recursively in a directory?

Trương Duy

New member
How do I grep recursively in a directory?
Answer
To recursively search for a pattern, invoke grep with the -r option (or –recursive ). When this option is used grep will search through all files in the specified directory, skipping the symlinks that are encountered recursively.
 

Tìm kiếm

Back
Top