Directory1. Introduction to Commands2. Common parameter Introduction3. Example4. Direct access to the bottomIntroduction to CommandsThe tar command is used to package or decompress a file, with the extension ". Tar", which specifies that specific
Linux zip command
Zip-r myfile.zip./*Compresses all files and folders in the current directory into Myfile.zip files, and-R represents all files under a recursive compression subdirectory.
2.unzipUnzip-o-d/home/sunny Myfile.zipExtract the
2015-08-291.zip command Zip-r myfile.zip./* All files and folders under the current directory are compressed into myfile.zip files, and-r means all files in the recursive compressed subdirectory.2.unzip command Unzip-o-d/home/sunny myfile.zip
Linux zip command1.zip-r myfile.zip./*All files and folders under the current directory are compressed into myfile.zip files, and-R indicates that all files in the subdirectory are compressed recursively.2.unzipUnzip-o-d/home/sunny Myfile.zipUnzip
A detailed description of compression decompression commands under LinuxZip-r myfile.zip./*All files and folders under the current directory are compressed into myfile.zip files, and-R indicates that all files in the subdirectory are compressed
A detailed example of compression decompression commands under LinuxExample: compressing the contents of the current directory on the server as a xxx.zip fileZip-r xxx.zip./*Unzip the zip file to the current directoryUnzip Filename.zip===============
The linux zip command zip-r myfile.zip./* All files and folders under the current directory are compressed into myfile.zip files, and-r means all files in the recursive compressed subdirectory. 2.unzip unzip-o-d/home/sunny Myfile.zip extract
Linux zip commandZip-r myfile.zip./*All files and folders under the current directory are compressed into myfile.zip files, and-R indicates that all files in the subdirectory are compressed recursively.2.unzipUnzip-o-d/home/sunny Myfile.zipUnzip the
Example: compressing the contents of the current directory on the server as a xxx.zip fileZip-r xxx.zip./*Unzip the zip file to the current directoryUnzip Filename.zip============================Another: Some servers do not install the ZIP package
The most common packaging program under Linux is tar, which is often referred to as the TAR package, and the tar package file commands are usually terminated with. Tar. After the tar package is generated, you can use other programs to compress the
For those who have just come in contact with Linux, it will certainly give Linux a lot of different file names to get dizzy. Let's just say, in the case of compressed files, we know that there are only two types of compressed files that are most
1. How to open the terminal
In ubuntu, press the first "Panel homepage (Dash homepage)" on the Left bar (you can press win to bring up the page) and enter terminal to open the terminal, in addition, press CTRL + ALT + T to open the terminal.
Inux Zip commandZip-r myfile.zip./*All files and folders under the current directory are compressed into myfile.zip files, and-R indicates that all files in the subdirectory are compressed recursively.2.unzipUnzip-o-d/home/sunny Myfile.zipUnzip the
Linux Compression decompression command Linux zip command zip-r myfile.zip./* All files and folders under the current directory are compressed into myfile.zip files,-r means all files in the recursive compressed subdirectory. 2.unzip
Compression zip under Linux, unzip unzip commandI personally test the summary:Linux installation Unzip zipInstall command: Yum install-y unzip zip# Unzip Yasuo.zipMethod One:Install command: Yum install-y unzip zip1. I want to compress a file
Other operation commands in wubantu (2), wubantu1. Search for files
The find command searches for files that meet the conditions in a specific directory.
Find [path]-name "*. py" find the file with the extension name ". py" in the specified path,
Summary of Common commands in liunx and summary of liunx commands
This article may be of little use for many years of work, but it will certainly be helpful for those who have just come into contact with Java. Now I summarize some common commands
The most common packaging program under Linux is tar, which is often referred to as the TAR package, and the tar package file commands are usually terminated with. Tar. After the tar package is generated, it can be compressed with other programs, so
Go to page: http://www.jb51.net/LINUXjishu/43356.htmlThe most common packaging program under Linux is tar, which is often referred to as the TAR package, and the tar package file commands are usually terminated with. Tar. After the tar package is
Zip is a bit old, but all systems support (.zip ).
Format
Parameter of the file name to be compressed After Zip Compression
Parameters
-1 compression ratio, optional from 1 to 9, 9 is the maximum compression rate.
-C adds comments.
-D decompress a
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.