Pages

Thursday, 14 July 2011

Zipping a file or folder using ZIP command

The "zip" command can be used to zip a file or folder.

syntax

zip <<filename.zip>> <<files_to_zip>>


zip <<filename.zip>> <<folders_to_zip>>

example

zip try.zip file1.txt file2.txt

No comments:

Post a Comment