zip and unzip
zip is cross-platform and widely used for sharing files with Windows users.
Create zip
zip archive.zip file1.txt file2.txt
zip -r archive.zip directory/ # Recursive (for directories)
zip -9 archive.zip files/ # Maximum compression
Extract zip
unzip archive.zip
unzip archive.zip -d /target/directory
unzip -l archive.zip # List contents
unzip -o archive.zip # Overwrite without asking
Password protected
zip -e secure.zip file.txt # Add password
unzip secure.zip # Will prompt for password