Matches fixed strings in files. Equivalent to
grep -F
. More information: https://www.gnu.org/software/grep/manual/grep.html.
fgrep search_string path/to/file
fgrep -x search_string 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 ...