linux upx用法,Linux upx 命令 command not found upx 命令详解 upx 命令未找到 upx 命令安装 - CommandNotFound ⚡️ 坑否...

显示行号

|

选择喜欢的代码风格

默认

GitHub

Dune

LakeSide

Plateau

Vibrant

Blue

Eighties

Tranquil

UPX 是一个免费且开源的可执行程序文件加壳器,支持许多不同操作系统下的可执行文件格式。

upx 命令安装:

-bash/zsh: upx command not found

#Alpine

apk add upx

#Arch Linux

pacman -S upx

#Fedora

dnf install upx

#OS X

brew install upx

#Docker

docker run cmd.cat/upx upx

upx 命令补充说明:

upx 是一种便携式、可扩展的高性能可执行打包程序,适用于几种不同的可执行格式。upx 具有出色的压缩率,并提供【非常】的快速解压缩。对于可执行的大多数格式,可执行文件都不会因原位解压缩而造成内存开销或其他缺点。

upx 命令语法:

upx [ command ] [ options ] filename...

upx 命令选项:

-q: be quiet, suppress warnings

-q -q (or -qq): be very quiet, suppress errors

-q -q -q (or -qqq): produce no output at all

--help: prints the help

--version: print the version of UPX

--exact: when compressing, require to be able to get a byte-identical file after decompression with option -d. [ NOTE: this is work in progress and is not supported for all formats yet. If you do care, as a workaround you can compress and then decompress your program a first time - any further compress-decompress steps should then yield byte-identical results as compared to the first decompressed version.]

[ ...to be written... - type 'upx --help' for now ]

upx 命令环境变量:

环境变量 UPX 可以为 UPX 保留一组默认选项。这些选项首先被解释,并且可以由显式命令行参数覆 盖。例如:

for DOS/Windows: set UPX=-9 --compress-icons#0

for sh/ksh/zsh: UPX="-9 --compress-icons=0"; export UPX

for csh/tcsh: setenv UPX "-9 --compress-icons=0"

upx 命令参数:

目标文件

upx 命令实例:

upx 压缩可执行文件:

upx file

upx 解压缩可执行文件:

upx -d file

upx 详细帮助:

upx --help

upx 命令扩展阅读:

upx 命令评论

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值