Matches patterns in files. Supports simple patterns and regular expressions.…
Matches patterns in files. Supports simple patterns and regular expressions.
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 {{^regex$}} {{path/to/file}}
fgrep -l {{^regex$}} {{path/to/file1}} {{path/to/file2}}