[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to read a tarball

Hash: SHA1

Tim wrote:
> On Tue, 2006-05-02 at 00:03 -0400, Todd Zullinger wrote:
>> It's worth noting that the less command will do all of this for you on
>> most RH/FC (and other GNU/Linux) systems.  The LESSOPEN variable gets
>> set to call lesspipe.sh in the login process for both bash and csh
>> shells.  So you can just run:
>> $ less file.tar*
> Interesting and useful information.  I just tried it on an RPM, and got
> more useful information than doing "rpm -qlp package.rpm" (permissions,
> ownership, and filesizes were also shown).

Indeed it's very handy.  The things you can do by customizing the
lesspipe.sh script have a lot of cool uses.  One other way I use it is
to have less call an ID3 tag viewer when I run "less whatever.mp3"
(oops, I mean ogginfo and whatever.ogg :).

- -- 
Todd        OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
The World is a dangerous place, not because of evil people, but
because of those who watch evil and do nothing about it.
    -- Albert Einstein

Version: GnuPG v1.4.3 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]