zegrep

Find extended regular expression patterns in compressed files using egrep.…

zegrep

Find extended regular expression patterns in compressed files using egrep. More information: https://www.unix.com/man-page/freebsd/1/zegrep/.

zegrep "{{search_pattern}}" {{path/to/file}}

zegrep --ignore-case "{{search_pattern}}" {{path/to/file}}

zegrep --invert-match "{{search_pattern}}" {{path/to/file}}

zegrep --with-filename --line-number "{{search_pattern}}" {{path/to/file}}

zegrep --only-matching "{{search_pattern}}" {{path/to/file}}

zegrep --recursive "{{search_pattern}}" {{path/to/file}}

Также может быть вам интересно:
КодТрюки BashНастройкиТерминал/Консоль
← zeek zek →