Reading Compressed Files With less
Jan 28, 2009, 22:04 (0 Talkback[s])
(Other stories by Juliet Kemp)
WEBINAR: On-demand webcast
How to Boost Database Development Productivity on Linux, Docker, and Kubernetes with Microsoft SQL Server 2017 REGISTER >
"It also handles uncompressed files, and (contrary to the
manpage) it appears to deal OK with input piped from stdin (e.g.,
ls | zless).
"zless can't, however, handle files that have been tarred as
well as zipped. Here's an alternative command line that will allow
you to page through file.tar.gz without unpacking it beforehand and
thus without leaving unzipped files lying around:"