How do I grep a string into multiple files?

Mỹ An

New member
How do I grep a string into multiple files?
Answer
The basic grep syntax when searching multiple patterns in a file includes using the grep command followed by strings and the name of the file or its path. The patterns need to be enclosed using single quotes and separated by the pipe symbol. Use the backslash before pipe | for regular expressions.
 

Tìm kiếm

Back
Top