zip
UK[zɪp] 美[zɪp]
n.Zip; energy, vitality; scream; a program compression format
vt. To give... speed; to zip or buckle
vt.& vi. To scream past; (to move quickly in a certain direction)
Third person singular: zips plural: zips present participle: zipping past tense: zipped past participle: zipped
Linux zip command syntax
Function: zip command is used to compress files.
Syntax: zip [-AcdDfFghjJKlLmoqrSTuvVwXyz$][-b <working directory>][-ll][-n <suffix string>][-t < ;Date time>][-<Compression efficiency>][Compressed file][File...][-i <Template style>][-x <Template style>]
Linux zip command example
Package all files and folders in the /home/html/ directory into html.zip in the current directory:
zip -q -r html.zip /home/html
If we are in the /home/html directory, we can execute the following command:
zip -q -r html.zip *
Delete the file a.c
zip -dv cp.zip a.cfrom the compressed file cp.zip