LinuxCommandLibrary

lz

TLDR

List archive contents

$ lz [path/to/file.tar.gz]
copy

SYNOPSIS

lz file.tar.gz

DESCRIPTION

lz lists the contents of a .tar.gz compressed archive without extracting it. It is a simple wrapper that provides quick access to archive contents.

CAVEATS

Specifically for .tar.gz files. Use tar -tzf directly for more options and control.

SEE ALSO

tar(1), gzip(1), zcat(1)

Copied to clipboard