viewing contents of tar/tar.gz/tgz files
Jim Cheetham
jim at inode.co.nz
Mon Oct 18 07:57:27 UTC 2004
On Oct 18, 2004, at 8:49 PM, volvoguy wrote:
> less somefile.tar.gz
>
> and have it display the contents of the file.
Surely some mistake? A tar file is in tar format - less will show you
the tar format?
Are you thinking of "tar ztvf somefile.tar.gz" which will show you the
table of contents/file list of a tar file? You would often pipe that
through less ...
$ tar ztvf somefile.tar.gz | less
-jim
More information about the ubuntu-users
mailing list