Common linux commands for server configuration zip
Source: Internet
Author: User
Unzip monitor/www.2cto. com3. test the compressed package [root @ localhostcactiplugins] # unzip-t...
Common linux commands for server configuration zip 1. unzip to the specified directory unzip monitor-0.8.2.zip-d monitor 2. zip-r monitor.zip monitor/www.2cto.com 3. test the compressed package [root @ localhost cactiplugins] # unzip-t monitor.zip 4. view the details of the compressed package [root @ localhost cactiplugins] # unzip-Z monitor.zip common options-x file list to decompress the file, but does not include the file-v specified in the "File list" to view the Directory of the compressed file. However, the-t test file is not damaged, but do not understand the pressure-d directory to extract the compressed file to the specified directory-z only displays the compressed file annotation-n does not overwrite existing files-o overwrite existing files and does not require the user confirms that-j does not recreate the directory structure of the document, decompress all files to the same directory.
Detailed usage of the unzip Command 2. Format: unzip [-cflptuvz] [-agCjLMnoqsVX] [-P <密码> [[.Zip file] [file] [-d <目录> ] [-X <文件> ] 3. main parameter-c: extract the result-l: displays the files contained in the compressed file. -P: similar to the-c parameter, the extracted result is displayed on the screen without any conversion. -T: Check whether the compressed file is correct. -U: similar to the-f parameter, but in addition to updating an existing file, other files in the compressed file are also extracted to the directory. -V: Detailed information is displayed during execution. Www.2cto.com-z: only the remarks of the compressed file are displayed. -A: perform necessary character conversion for text files. -B: do not convert characters in text files. -C: The file name in the compressed file is case sensitive. -J: The original directory path of the compressed file is not processed.
-L: Change all file names in the compressed file to lowercase. -M: Send the output result to the more Program for processing. -N: do not overwrite the original file during decompression. -O: You do not need to ask the user first. after unzip is executed, the original file is overwritten. -P <密码> : Use the zip password option. -Q: No information is displayed during execution. -S: converts the blank characters in the file name to the bottom line characters. -V: retain the file version information of VMS. -X: The original UID/GID of the file is saved back at the same time. . ZIP file]: specifies the. zip compressed file. [File]: specifies the files in the. zip compressed file. -D <目录> : Specifies the directory to be stored after the file is decompressed. -X <文件> : Specifies which files in the. zip compressed file are not processed. -Z unzip:-Z is equivalent to executing the zipinfo command. Author: luoke920
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service