LinuxCommandLibrary

lzegrep

searches for extended regular expression patterns in lzip-compressed files

TLDR

Search with extended regex

$ lzegrep [pattern] [file.lz]
copy
Case-insensitive search
$ lzegrep -i [pattern] [file.lz]
copy
Show line numbers
$ lzegrep -n [pattern] [file.lz]
copy

SYNOPSIS

lzegrep [options] pattern [file...]

DESCRIPTION

lzegrep searches for extended regular expression patterns in lzip-compressed files. Equivalent to lzgrep -E. Automatically decompresses before searching.

SEE ALSO

lzgrep(1), egrep(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community