Find patterns in files using extended regular expression (supports?
,+
,{}
,()
and|
).
egrep "{search_pattern}" {path/to/file}
egrep "{search_pattern}" {path/to/file1} {path/to/file2} {path/to/file3}
cat {path/to/file} | egrep {search_pattern}
egrep --with-filename --line-number "{search_pattern}" {path/to/file}
egrep --recursive --binary-files={without-match} "{search_pattern}" {path/to/directory}
egrep --invert-match "{search_pattern}" {path/to/file}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
=> CC-BY This content has been proxied by September (ba2dc).Proxy Information
text/gemini;lang=en-GB