Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This answer and this one suggest p7zip to work with 7zip-archives under Linux. I can see option for compressing and decompressing. But how can I get a content-listing of an archive, without decompressing it?

share|improve this question
7z l archive.7z

lists the content

Source: 7z --help

share|improve this answer
    
The p7zip package does not have an executable called 7z. – Dennis Nov 29 '11 at 17:06
    
Oh, I see. It comes from p7zip-full. – choroba Nov 29 '11 at 17:48

The executable p7zip of the package p7zip does not have this function.

If you install p7zip-full, you can use the executable 7z which does.

7z -h shows you the basic syntax.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .