Posts Tagged zip file linux

Zip a folder in Linux

The command to zip a folder in Linux (Red Hat Enterprise Linux 4) is as below:

zip -9 -r <zip file> <folder name>

To zip a single file:
zip -9 <zip file> <filename>

Use “-9″ for best compression. The compressed file works fine with Windows XP compression tool.

VN:F [1.9.13_1145]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.13_1145]
Rating: 0 (from 0 votes)

,

No Comments