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

Linux basic command-gzexe

2025-01-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Gzexe

Compress the executable file, which can be decompressed automatically when the program is executed.

The scope of this command: RedHat, RHEL, Ubuntu, CentOS, SUSE, openSUSE, Fedora.

1. Grammar

Gzexe file

2. List of options

Option

Description

-- help

Help information

-- version

Display command version information

-d

Decompression

3. Examples

1) compress ls instruction

[root@localhost weijie] # gzexe / bin/ls / / compress the ls instruction, and the original instruction file is changed to ls~

/ bin/ls: 56.0%

[root@localhost weijie] # ls-l / bin/ls* / / compressed command takes up less disk and can be executed

-rwxr-xr-x 1 root root 53198 September 19 17:55 / bin/ls

-rwxr-xr-x 1 root root 118932 November 22 2013 / bin/ls~

2) decompress the ls instruction

[root@localhost weijie] # gzexe-d / bin/ls / / decompress

[root@localhost weijie] # ls-l / bin/ls* / / after decompression, the original compressed package becomes ls~

-rwxr-xr-x 1 root root 118932 September 19 17:58 / bin/ls

-rwxr-xr-x 1 root root 53198 September 19 17:55 / bin/ls~

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