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
. tarUnpacking: Tar xvf Filename.tarPackage: Tar cvf filename.tar DirName(Note: Tar is packaged, not compressed!) )---------------------------------------------. gzDecompression 1:gunzip filename.gzDecompression 2:gzip-d filename.gzCompression: gzip
One linux Command one day -- decompress the tgz file -- general Linux technology-Linux technology and application information. The following is a detailed description. Tgzis the same as tar.gz
Tar zxvf XX.tar.gz
For example, the contents of
Jenkins uploads the tgz package to the remote server for execution and the jenkinstgz package for upload
Jenkins is a useful automated build tool for continuous integration of development and testing.
When developing a system, we often need to
Linux supports a wide variety of file systems. They provide a good operation and user interface for data storage and management. In a file system, security mechanisms and problems such as file/directory access permission management and control, and
Linux file management-compression and decompression command: tar format: tar option file directory list function: Package and back up the file directory www.2cto.com option: -c create a new archive file-r append a file to the end of the archive file-
function: The tail command outputs the end of the file, which, by default, displays the last ten lines of the file.Displays the last 10 lines of each specified file to the standard output. If more than one file is specified, the program adds the
Consider the following Python code snippets. Perform some operations on the data in the file and save the results back to the file:
Copy codeThe Code is as follows:With open (filename) as f:Input = f. read ()Output = do_something (input)With open
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.