How do I recursively grep a string in Linux?

Lâm Phung

New member
How do I recursively grep a string in Linux?
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