zip archivename.zip filename1 filename2 filename3
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