7z
Last modified: 2023-03-28
The 7z command is a compression utility that is used to compress and decompress files in Unix, Linux, and other operating systems.
Compress
# a: Add files to archive
7z a example.zip example.txt
# With password
7z a example.zip example.txt -p password
Decompress
# e: Extract files from archive
7z e example.zip
# With password
7z e example.zip -p password