Can we zip a directory in Unix?

Can we zip a directory in Unix?
Answer
You can use the ‘zip’ command to compress a folder full of files. For example, if you have a WordPress site named example.com, you may want to compress all files and folders within it before downloading. The following command compresses the directory named example.com and creates a new zip file named example.com.
 

Tìm kiếm

Back
Top