How to compress in linux

王林
Release: 2020-03-11 15:10:51
Original
1978 people have browsed it

How to compress in linux

Use the tar command to compress the file.

Pay attention to the parameter cvf following the tar command, and then follow it with the name of the compressed folder

tar -cvf test.tar *.py
Copy after login

(Recommended tutorial:linux tutorial)

You can also compress the file into gz format by following tar with the zcvf parameter.

How to compress in linux

Related video tutorial recommendations:linux video tutorial

The above is the detailed content of How to compress in linux. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!