Reading Compressed Files With less
Jan 28, 2009, 22:04 (0 Talkback[s])
(Other stories by Juliet Kemp)
Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers
"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:"