💾 Archived View for freeshell.de › tldr › fgrep.gmi captured on 2024-02-05 at 10:55:36. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

fgrep

Matches fixed strings in files.
Equivalent to `grep -F`.

More information.

fgrep {search_string} {path/to/file}
fgrep -x {path/to/file1} {path/to/file2}
fgrep -c {search_string} {path/to/file}
fgrep -n {search_string} {path/to/file}
fgrep -v {search_string} {path/to/file}
fgrep -l {search_string} {path/to/file1} {path/to/file2}
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