Zipping a folder in linux
zip -r tecmint_files.zip tecmint_files
Unzipping a Zip file in linux
unzip tecmint_files.zip
gzip -c filename > filename.gz
gzip -c filename > filename.gz
zip -r archivename.zip directory_name
Copy
gzip -c filename > filename.gz
$zip -r file.zip directory_name
gzip -c filename > filename.gz
gzip -c filename > filename.gz
gzip -c filename > filename.gz
gzip -c filename > filename.gz
Syntax :
zip [options] zipfile files_list
Syntax for Creating a zip file:
$zip myfile.zip filename.txt
gzip -c filename > filename.gz