Overview: The main decompression and compression commands under Linux are gzip,bzip2,tar, rar , Zip . Its command format is roughly as follows,Compression: Command + parameter + Compressed file name + compressed file or directory. Unzip: Command +
There are several ways to compress under Linux: gzip, bzip2, XZ, zipGzipThe compressed file ends in. GZ,Only files can be compressed and directories cannot be compressedUsage:Gzip:/path/to/somefile is used to compress, the original file will be
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
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.
gzip:. GZ, can only compress files, cannot compress directories gzip Somefiles: The original file is deleted when the compression is complete -D: Unzip -#: 1-9, specify compression ratio, default is 6Gunzip: Decompression gunzip somefiles.gz: Delete
File compression and decompressionTar commandThe TAR command creates archives for Linux files and directories.With tar, you can create files (backup files) for a specific file, or you can change files in the file or add new files to the file. Tar
1, write a script to complete the following functions(1) Pass a disk device file path to the script to determine whether the device exists;(2) If present, displays all the partition information on this device;#!/bin/bash## finddev.sh# pass a disk
One, compression, decompression commandCommand format: gz/ba2/xz/zip/zCompress/uncompress is ancient, not used at present.The most commonly used xz/bz2/gz is now.Second, the common compression command detailed1. Gzip:. GZ cannot compress the
Summary: Commonly used compression commands have gzip, bzip2, tar tips: gzip and bzip2 tools can not be packed and compressed in the directory, gzip and bzip2 decompression are all with the-D parameter (decompress=uncompress)The tar command is
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
Packaging and compression of Linux documentsOne, gzip: Compression toolGzip can only compress files, not compressed after the directory directly with the files to be compressed.The file is compressed by default with a suffix name to distinguish what
I. Archiving and compression
Compression Command tool: GZIP,BZIP2
Archive Command tool: Tar
Second, compression2.1. GzipGzip is a standard, widely-used file compression and decompression utility. Gzip allows file to be collocated.
Compression format:Gz,bz2,xz,zip,zAlgorithm is illegal: The algorithm is different, the compression ratio will be differentCompress:filename. ZUncompressThe current format is more popular: Xz,bz2,gzGzip:. GZGzip/path/to/somefile: When compression is
Recently used more Linux, in the Web site to find some of the JDK installation of Linux tutorial, the process is some but a lot of details are not shown, so I spent a bit of time to summarize, I hope that everyone can help ...CentOS under JDK1.7
Linux Common compression tools: gzip, bZIP, XZ, these compression tools do not compress the directory-------------------------------------------------gzip, bZIP, XZ compression ratios: xz>bzip>gzipThe compression ratio usually has 1-9, 9 levels, the
tar extract command: A package compressed with the TAR command is called a tar package, usually ending in. tar, with the following common parameters:-v--indicates that all procedures are displayed-f--indicates the file name of the specified
Search found two of 7zip: P7zip,p7zip-full,p7zip-rar. The study found that:P7zip: Contains 7ZR (the smallest 7zip archive tool) and can only handle native 7z formats.P7zip-full: Includes 7z, supports 7z, LZMA2, XZ, ZIP, CAB, GZIP, BZIP2, ARJ, TAR,
The TAR command creates archives for Linux files and directories. With tar, you can create files (backup files) for a specific file, or you can change files in the file or add new files to the file. Tar was originally used to create archives on tape,
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.