How do you search for a word recursively in Linux?

Ngân Lam

New member
How do you search for a word recursively 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