Tar-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files in original compressed packageThese five are stand-alone commands, which use one of the compression decompression, and
For those who have just come into contact with Linux, it will definitely give Linux a bunch of different filenames to stun. Don't say it. For example, for compressed files, we know that there are only two types of compressed files that are most
User Management command: Useradd user nameExample: Useradd ZhangsanSet User password: passwd user nameView Online users: WhoMore detailed User login information: wCompression and Decompression commands:Common compression formats:*.GZ---gzip
Common commandsUbuntu uncompressed garbledExtract by Unzip line command, specify character setUnzip-o CP936 Xxx.zip (with GBK, GB18030 can also)Interestingly, there is no explanation for this option in Unzip's manual, unzip--help has a simple
3. File backup and compression commands:(1) bzip2 command: Used to compress files. bzip2 file name, suffix bz2. Unzip to: BUNZIP2 file name. bz2(2) Gzip command: Use gzip to compress files. gzip file name, and the suffix is gz. Unzip to: Gunzip file
A detailed description of the tar command-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files in original compressed packageThese five are stand-alone commands, which use one
I. Overview:1. Compress the command:Command format: TAR-ZCVF compressed file name. tar.gz Compressed file nameYou can switch to the current directory first. Both the compressed file name and the compressed file name can be added to the path.2. Unzip
First, Tar-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files in original compressed packageThese five are stand-alone commands, which use one of the compression
tar command detailed
-C: Set up compressed files
-X: Decompression
-T: viewing content
-R: Appending files to the end of a compressed archive
-U: Updating files in original compressed package
These five are independent commands, compression
-----------------------------------------Gorgeous split Line--------------------------
. tar.gzDecompression: Tar zxvf FileName.tar.gzCompression: Tar zcvf FileName.tar.gz dirname
The Solaris decompression *.tar.gz may be somewhat different, and
File Basic Operations
The command "CP" is used to copy files or directories:
$ CP [-R] Source (folder) destination file (folder)
-R recursively copies the entire directory, which is used by the Replication folder
-V display details, cp-rv or
-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files in original compressed packageThese five are stand-alone commands, which use one of the compression decompression, and
Linux Unzip commandTar-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files in original compressed packageThese five are stand-alone commands, which use one of the compression
Summarize the commonly used tar decompression commands as a memo:Tar-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files in original compressed packageThese five are
Tar-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files in original compressed packageThese five are stand-alone commands, which use one of the compression decompression, and
Example: compressing the contents of the current directory 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 does not
Linux InstallationAs a result of a slight focus on virtual machine-related knowledge, the knowledge about virtual machine software is generally known. Currently I know that the ubiquitous virtual machine software is VMware Workstation (hereinafter
Description of the TAR compression decompression command under Linux tar-c: Building a compressed archive-x: extracting-T: viewing Content-r: Appending files to the end of a compressed archive-u: Update the files in the original package this five is
Install and use MongoDB as a service: www.2cto.com first installs MongoDB on Ubuntu. Download MongoDB, now the latest production version 1.7.01. Unzip the file. $ tar-xvfmongodb-linux-i686-1.4.3.tgz2. Create a data directory for MongoDB, by default
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.