grep

Find patterns in files using regular expressions.

=> More information.

grep "{search_pattern}" {path/to/file}
grep --fixed-strings "{exact_string}" {path/to/file}
grep --recursive --line-number --binary-files={without-match} "{search_pattern}" {path/to/directory}
grep --extended-regexp --ignore-case "{search_pattern}" {path/to/file}
grep --{context|before-context|after-context}={3} "{search_pattern}" {path/to/file}
grep --with-filename --line-number "{search_pattern}" {path/to/file}
grep --only-matching "{search_pattern}" {path/to/file}
cat {path/to/file} | grep --invert-match "{search_pattern}"
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

Proxy Information
Original URL
gemini://freeshell.de/tldr/grep.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-GB
Capsule Response Time
103.761609 milliseconds
Gemini-to-HTML Time
0.385285 milliseconds

This content has been proxied by September (ba2dc).