← 返回命令列表

Linux command

bzexe 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Compress an executable file in place

bzexe [path/to/executable]

Compress multiple executables

bzexe [executable1] [executable2]

Decompress a previously compressed executable

bzexe -d [path/to/executable]

说明

bzexe compresses executable files in place, creating self-extracting executables that automatically decompress and run when executed. The original file is saved with a tilde (~) suffix as a backup. When a compressed executable is run, it transparently decompresses itself to a temporary location and executes. This trades execution speed for disk space savings, making it useful on systems with limited storage. For example, compressing /bin/cat creates: - /bin/cat - the self-decompressing executable - /bin/cat~ - the original uncompressed binary (backup)

参数

-d
Decompress the specified executables instead of compressing them

FAQ

What is the bzexe command used for?

bzexe compresses executable files in place, creating self-extracting executables that automatically decompress and run when executed. The original file is saved with a tilde (~) suffix as a backup. When a compressed executable is run, it transparently decompresses itself to a temporary location and executes. This trades execution speed for disk space savings, making it useful on systems with limited storage. For example, compressing /bin/cat creates: - /bin/cat - the self-decompressing executable - /bin/cat~ - the original uncompressed binary (backup)

How do I run a basic bzexe example?

Run `bzexe [path/to/executable]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -d do in bzexe?

Decompress the specified executables instead of compressing them