Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the compression software 7-zip in Linux

2025-03-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to use the compression software 7-zip in Linux". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn how to use the compression software 7-zip in Linux.

7-zip is an open source compression software. It uses the new compression format of 7z and supports high compression ratio. Therefore, it is considered to be better software than the compression tool mentioned earlier. Under Linux, it is available through the p7zip package, which contains three binaries: 7z, 7za and 7zr. Readers can refer to p7zip wiki to understand the differences between these three binaries. In this article, we will use 7zr to explain the use of 7-zip. The archive file has the suffix '.7z'.

The basic usage is as follows:

A) create an archive

The code is as follows:

7zr an archive-name.7z file-name (s) / directory-name (s)

Create an archive file

B) list archived inclusion files

The code is as follows:

7zr l archive-name.7z

List the files contained in the archive

C) extraction of archived documents

The code is as follows:

7zr e archive-name.7z

Extraction and archiving

D) Update the archive file

The code is as follows:

7zr u archive-name.7z new-file

Update an archive file

E) remove files from the archive

The code is as follows:

7zr d archive-name.7z file-to-be-deleted

Delete a file

Confirm file deletion

Thank you for your reading, the above is the content of "how to use the compression software 7-zip in Linux". After the study of this article, I believe you have a deeper understanding of how to use the compression software 7-zip in Linux, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report