bzfgrep Command Examples

Find any fixed strings separated by new lines in bzip2 compressed files using fgrep. More information: https://manned.org/bzfgrep.

bzfgrep "{{search_string}}" {{path/to/file}}

bzfgrep --ignore-case "{{search_string}}" {{path/to/file}}

bzfgrep --invert-match "{{search_string}}" {{path/to/file}}

bzfgrep --with-filename --line-number "{{search_string}}" {{path/to/file}}

bzfgrep --only-matching "{{search_string}}" {{path/to/file}}

bzfgrep --recursive "{{search_string}}" {{path/to/file}}