The linux unzip command can decompress a zip file in windows.
Unzip command
Syntax: unzip [Option] compressed file name. Zip
The meanings of each option are as follows:
-X file list: Decompress the file, but does not include the specified file.
-V.
-T whether the test file is damaged, but the pressure is not solved.
-D directory: Decompress the compressed file to the specified directory.
-Z only displays the annotation of the compressed file.
-N does not overwrite existing files.
-O overwrites existing files and does not require user confirmation.
-J. Do not recreate the directory structure of the document and decompress all the files to the same directory.
Example 1: extract text.zip from the current directory.
$ Unzip text.zip
Example 2: Decompress the compressed file text.zip under the specified directory/tmp. If the same file already exists, the unzip command must not overwrite the original file.
$ Unzip-n text.zip-d/tmp
Example 3: view the directory of the compressed file.
$ Unzip-v text.zip
Zgrep command
The function of this command is to find a matching regular expression in a compressed file. The usage is the same as that of the grep command, except that the object operated is a compressed file. You can use the zgrep command to check whether a certain sentence exists in a compressed file.