The unzip command

list, test and extract compressed files in a ZIP archive 5 examples from the lessons of the IVski Linux Playground — try them in the terminal next to them.

Options in the examples

-l
list archive files (short format).
-o
overwrite existing files without prompting.

Examples

unzip archive.zip
unzip archive.zip -d /target/directory
unzip -l archive.zip

List contents

unzip -o archive.zip

Overwrite without asking

unzip secure.zip

Will prompt for password

Lessons that use unzip