LinuxCommandLibrary

lzfgrep

searches for fixed strings in lzip-compressed files

TLDR

Search for fixed string

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

SYNOPSIS

lzfgrep [options] string [file...]

DESCRIPTION

lzfgrep searches for fixed strings in lzip-compressed files. Equivalent to lzgrep -F. Faster than regex search for literal strings. Automatically decompresses before searching.

SEE ALSO

lzgrep(1), fgrep(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community