Commands.page Logo

How to List Verbose Details of a 7z Archive in Ubuntu

This article provides a direct solution for viewing comprehensive information about 7z compressed files within the Ubuntu environment. It identifies the specific terminal command required to generate a verbose listing, ensuring users can inspect archive contents and technical attributes without extraction.

To list the verbose details of a 7z archive, open your terminal and use the following command:

7z v filename.7z

Replace filename.7z with the actual name and path of your archive file. The v flag instructs the tool to perform a verbose list, displaying detailed information such as file attributes, compression methods, packed sizes, and CRC checksums.

If you require specific technical parameters beyond the standard verbose output, you can use the list command with the -slt switch:

7z l -slt filename.7z

Ensure that the p7zip-full package is installed on your Ubuntu system to access the 7z command. You can install it by running sudo apt install p7zip-full if it is not already available.