viewing contents of tar/tar.gz/tgz files

Colin Bell col at squirrelsql.org
Mon Oct 18 09:00:32 UTC 2004


On Mon, 2004-10-18 at 17:49, volvoguy wrote:
> I'll admit - I'm no command line whiz, so the answer to my question
> may be embarrasingly simple.
>
> I'm used to being able to run:
>
> less somefile.tar.gz
>
> and have it display the contents of the file.

Under Debian putting the following in my .bashrc allows
this to work. I don't know about Ubuntu.

eval `lesspipe`

lesspipe is found in /usr/bin/lesspipe

--
Colin Bell
http://www.squirrelsql.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20041018/906b5389/attachment.html>


More information about the ubuntu-users mailing list