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 linux zip Compression Command

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

Share

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

This article mainly introduces the use of linux zip compression command, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.

The linux zip compression command is used: 1, use zip to package the folder, the code is [zip-r-Q-o pack.zip mark/]; 2, use the [- e] parameter to create an encrypted package, code is [zip-r-e o packencryption.zi].

How to use the linux zip compression command:

1. Use zip to package folders:

Zip-r-Q-o pack.zip mark/

The above command packages all the files under the directory mark/ into a compressed file and looks at the size and type of the packaged file. In the first line of command

The-r parameter indicates that the recursive package contains all the contents of the subdirectory

The-Q parameter is expressed in quiet mode, that is, no information is output to the screen

-o, which represents the output file, followed by the name of the output file.

2. To create an encrypted zip package, you need to use the-e parameter to create an encrypted package:

Zip-r-e o packencryption.zip mark/

Then enter the password twice.

Thank you for reading this article carefully. I hope the article "how to use the linux zip Compression Command" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

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