Compression:
Tar czvf/data/backup/test.tar.gz/data/a/b/directoryExtract:
Cd/data/testTar xzvf/data/backup/test.tar.gz
The problem is, the unpacked file, inside the/data/test/data/a/b/directory
To unzip in the current directory path.
That's
The first is compression:
Tar-czvp-f skype_backup.tar.gz Skype_backup
Segmentation:
Split-b 4000k skype_backup.tar.gz skype_backup_20090626.tar.gz. –verbose
If the last two sentences were merged into one sentence:
Tar-czvp-f–skype_backup |split-
This paper mainly from the following several convenient to explain file archiving and compression, while comparing the compression ratios and characteristics of several different compression methods.
File Archive command tar,tar.gz source
KaKa notes-Linux basic commands-Linux general technology-Linux technology and application information. The following is a detailed description. LS
# Ls [parameter] [directory or file name]
[Root @ localhost root] # ls? L long format output
[Root @
Any system is divided into the core layer and the application layer. The core layer operates hardware devices directly, manages the execution of various software, and manages users of various computers. The Application Layer generally uses
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.
In a Linux system, access the device as a file.
When the Linux kernel boots, read the file system to be loaded from the file/etc/fstab
Each file in the Linux file system is identified by the I node.
All disk blocks consist of four parts,
Days, we'll learn how to quickly backup, recover, and migrate Docker containers. Docker is an open-source platform for automating deployment of applications to package, publish, and run them in a fast-moving way under the lightweight software layer
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
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 under the tar gz bz2 tgz Z and many other compressed file compression and decompression method, the need for Friends can refer to Linux under the most commonly used packaging program is tar, using the TAR program out of the package we often
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
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
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
This article describes the programs that are compressed under Linux, such as tar, gzip, gunzip, bzip2, bunzip2, compress, uncompress, zip, unzip, RAR, Unrar, and how to use them for. Tar,. GZ,. tar.gz,. tgz,. bz2,. tar.bz2,. Z. Tar. Z,. zip,. rar 10
"Command Introduction"tar command You can create 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
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
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.