How can I get a content-listing of a 7z-archive under Linux?

7z l archive.7z

lists the content

Source: 7z --help


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.