This article lists the tail commands in the linux file creation command to teach you how to use the tail command to create a self-decompressed tar file. The Tail command parameter has a parameter-n, -- linesN, which can be directly output by
This article lists the tail commands in the linux file creation
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 of the compression decompression, and can be used with other commands but only one.The following parameters are optional when compressing or extracting files as
program, but it seems that there are not as many people using compress as gzip and bzip2. The file ending with. Z is the result of bzip2 compression. The decompress program relative to compress is uncompress. Use the-Z parameter in tar to call gzip. The following is an example: # tar-cZf all.tar. Z *. the jpg command is to compress all .jpg files into a
compression.Result. The decompress program relative to compress is uncompress. Use the-Z parameter in tar to call gzip. The following is an example:# Tar-CZF all.tar. z *. jpgForbidden. Z# Tar-xzf all.tar. ZThis command is used to unbind the generated package.With the above knowledge, you should be able to uncompress
The tar command can be used to package and unpack. Packaging refers to a large number of files or directories into a total file, compression is a large file through some compression algorithm into a small file. So package unpacking and compression decompression is not the same, compression and decompression commonly used commands have gzip and bzip2 and so on.Command 1 packaging commands, the-c parameter in
Tar command
Function descriptionTAR is an acronym for Tape archive, a frequently used archive tool under Linux, often seeing files with the file names ending in. tar and tgz, which are files that are archived with the normal TAR commands and files that are archived with gzip. A
Windows:1)for. ZipLinux provides zip and unzip programs, Zip is a compression program, and unzip is a decompression program. They have many Parameter options,
Here we will only give a brief introduction and give examples to illustrate its usage:# Zip all.zip *. jpgThis command compresses all .jpg files into a zip package.
# Unzip all.zipThis command decompress a
Tar (Tape ARchive, abbreviation for tape archive, LCTT originally designed to package files onto tape, and now most of us use it to back up a partition or some important directory) is the most widely used command in Unix-like systems, Used to archive multiple files or directories into a single archive, and the archive can be further compressed using technology such as gzip or bzip2. In other words, the
Scenario: Compression and decompression commands are often used in Linux environments, so it is necessary to learn this command!Original source: http://www.cnblogs.com/peida/archive/2012/11/30/2795656.html1 IntroductionThrough SSH access to the server, will inevitably use compression, decompression, packaging, unpacking, etc., this time the tar command is an esse
Through SSH access to the server, will inevitably use compression, decompression, packaging, unpacking, etc., this time the tar command is an essential tool for a powerful. The most popular tar in Linux is the perfectly formed, the most powerful.The TAR command creates archi
Tags: st3 folder sof size show DEP exclude format isThrough SSH access to the server, will inevitably use compression, decompression, packaging, unpacking, etc., this time the tar command is an essential tool for a powerful. The most popular tar in Linux is the perfectly formed, the most powerful.The TAR
parameter-Z calls gzip [note:-Z is an uppercase letter] Example: # tar-cZf all.tar. Z * worker. Z # tar-xZf all.tar. Z this command is to uncompress the package generated above. ZIP /. rar. zip and. rar are common compressed files in Windows. 1).zip is a compression program and unzip is a decompression program. For ex
Tags: System/OPS LinuxPrevious section review:1. Locate command2. Whereis,which commandJob: Create a file myfile.txt, find it with locate, and find the CD command with which and Whereis, respectivelyTouch MyFile.txtLocate MyFile.txtUpdateDBLocate MyFile.txtWhereis CDwhich CD1. gzip/gunzipGzip is used to compress files in place, it is simple to use, for example, we want to compress the messages file under/var/log, can be used directly with GZIP messag
the directory/home/ljianhui
# Parameters related to file permissions and names:
-name FileName: Find the file named filename
-size [+-]size: Find a file larger than size (+) or small (-)
-tpye Type: Find file of type of file, the value of type is mainly: General file (f), device file (b, C),
Directory (d), connection file (L), socket (s), FIFO pipeline file (p);
-perm mode: Find file permissions just equal to the mode file, mode is represented by a number, such as 0755;
-perm-m
Tar can create files and directories. Using tar, you can create a file (backup file) for a specific file, change the file in the file, or add a new file to the file. Tar was originally used to create files on tape. Now, you can create files, such as floppy disks, on any device. Using the tar
Tar, 7z (7zip) compression/Decompression command, 7z7zip
This document describes how to use tar and 7z commands.Tar command
In Linux, the most commonly used compression/Decompression command is the tar
15+ the use of a tar command, with example http://www.oschina.net/question/12_146379April 23 The development system practice >>>» of Wuhan OSC source--es6The tar command is used to package many files into a single tape or disk archive, and to recover a list of files from an archive file. Useful when you need to send a
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 enter theRow is compressed, so let's sta
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 enter theRow is compressed, so let's sta
Tar zxvf ut6410-android2.1.tgz
Tar zcvf ut6410-android2.1.tgz ut6410-android2.1/tar -- exclude ut6410-android2.1/out-zcvf ut6410-android2.1.tgz ut6410-android2.1/
Tar command
[Root @ Linux ~] # Tar [-cxtzjvfppn] file and directory
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.