xxd命令中文参数说明

xxd命令英文参数说明:

Usage:
       xxd [options] [infile [outfile]]
    or
       xxd -r [-s [-]offset] [-c cols] [-ps] [infile [outfile]]
Options:
    -a          toggle autoskip: A single '*' replaces nul-lines. Default off.
    -b          binary digit dump (incompatible with -ps,-i,-r). Default hex.
    -c cols     format <cols> octets per line. Default 16 (-i: 12, -ps: 30).
    -E          show characters in EBCDIC. Default ASCII.
    -e          little-endian dump (incompatible with -ps,-i,-r).
    -g          number of octets per group in normal output. Default 2 (-e: 4).
    -h          print this summary.
    -i          output in C include file style.
    -l len      stop after <len> octets.
    -o off      add <off> to the displayed file position.
    -ps         output in postscript plain hexdump style.
    -r          reverse operation: convert (or patch) hexdump into binary.
    -r -s off   revert with <off> added to file positions found in hexdump.
    -s [+][-]seek  start at <seek> bytes abs. (or +: rel.) infile offset.
    -u          use upper case hex letters.
    -v          show version: "xxd V1.10 27oct98 by Juergen Weigert".

xxd参数中文说明:

Usage:
       xxd [options] [infile [outfile]]
    or
       xxd -r [-s [-]offset] [-c cols] [-ps] [infile [outfile]]
Options:
    -a          缺省忽略转换: 使用‘*’替换空行.
    -b          二进数数据转储 (与 -ps,-i,-r不兼容). 默认为16进制.
    -c cols    每行多少列octets(特制8比特的字节). 默认为16列(-i: 12, -ps: 30).
    -E          使用EBCDIC字符集. 默认为ASCII字符集.
    -e          小端模式转储 (与 -ps,-i,-r不兼容).
    -g          在正常输出中,每组八位字节数. 默认为2个 (-e: 4).
    -h          输出此帮助.
    -i          使用C语言文件样式输出.
    -l len      在len个八位字节后停止.
    -o off      在off个偏移量后开始输出.
    -ps         以在行后添加16进制转储内容的格式输出.
    -r          逆向操作: 转换(或修补) 十六进制内容为二进制内容.
    -r -s off   在off个偏移量后开始转换16进制内容为二进制内容
    -s [+][-]seek  start at <seek> bytes abs. (or +: rel.) infile offset.(没看懂)
    -u          使用大写字母进行十六进制表示.
    -v          显示版本: "xxd V1.10 27oct98 by Juergen Weigert".



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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值