Phác Chí Huấn
New member
How do I search for text in all files in Linux?
Answer
How do I find all files containing specific text on Linux?
Answer
How do I find all files containing specific text on Linux?
- remember that grep will interpret any . …
- anyway, you were almost there! …
- find … -exec <cmd> + is easier to type and faster than find … -exec <cmd> ; . …
- To search non-recursively in a given path the command is `grep –include=*.txt -snw “pattern” thepath/*.