Reading Compressed Files With less
Jan 28, 2009, 22:04 (0 Talkback[s])
(Other stories by Juliet Kemp)
No-Size-Fits-All! An Application-Down Approach for Your Cloud Transformation 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:"