How to create and extract Zip file in Linux

Create a zip file 

$ zip -r tecnotab.txt

where is the name of the zip file that you want to give and tecnotab.txt  is your actual file that you want to zip.
unzip a file.

$ unzip

Extract Zip File to Specific or Different Directory

$ mkdir -p /tmp/unziped
$ unzip -d /tmp/unziped
$ ls -l /tmp/unziped

Leave a Reply