Forrest logo
back to the unsquashfs tool

unsquashfs:tldr:727af

unsquashfs: Display the names of files and their attributes as they are extracted.
$ unsquashfs -linfo ${filesystem-squashfs}
try on your machine

The command "unsquashfs -linfo ${filesystem-squashfs}" is used to view the contents of a SquashFS filesystem image.

Here's a breakdown of each component of the command:

  • "unsquashfs": This is the name of the command-line tool that is used to extract files from SquashFS filesystems. It is part of the SquashFS utilities package.

  • "-linfo": This option tells the unsquashfs command to only list the information about the files in the SquashFS filesystem, without extracting them.

  • "${filesystem-squashfs}": This is a placeholder for the name or path of the SquashFS filesystem image file. You need to replace it with the actual filename or path of the file you want to examine.

When you run this command, it will provide you with a detailed list of files contained within the specified SquashFS filesystem image, including their names, sizes, ownership, permissions, and timestamps.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the unsquashfs tool