用vi在linux下查看16进制文件
2009-12-10 09:37
435 查看
在vi的命令状态下 :
:%!xxd ——将当前文本转换为16进制格式。
:%!od ——将当前文本转换为16进制格式。
:%!xxd -c 12——将当前文本转换为16进制格式,并每行显示12个字节。
:%!xxd -r ——将当前文件转换回文本格式。
xxd工具: xxd creates a hex dump of a given file or standard input. It can also convert a hex dump back to its original binary form.
od工具: Write an unambiguous representation, octal bytes by default, of FILE to standard output. With more than one FILE argument, concatenate them in the listed order to form the input.
:%!xxd ——将当前文本转换为16进制格式。
:%!od ——将当前文本转换为16进制格式。
:%!xxd -c 12——将当前文本转换为16进制格式,并每行显示12个字节。
:%!xxd -r ——将当前文件转换回文本格式。
xxd工具: xxd creates a hex dump of a given file or standard input. It can also convert a hex dump back to its original binary form.
od工具: Write an unambiguous representation, octal bytes by default, of FILE to standard output. With more than one FILE argument, concatenate them in the listed order to form the input.
相关文章推荐
- 用vi在linux下查看16进制文件
- 用vi在linux下查看16进制文件
- 用vi在linux下查看16进制文件的方法
- 用vi在linux下查看16进制文件的方法
- 用vi在linux下查看16进制文件的方法
- 用vi在linux下查看16进制文件
- linux下查看16进制文件的方法
- vi下以16进制来查看二进制文件
- Linux中查看文本文件内容命令cat/tac/nl/more/less/head/tail/vi总结
- vi下以16进制来查看二进制文件
- Linux中查看文本文件内容命令cat/tac/nl/more/less/head/tail/vi总结
- linux以16进制查看文件
- Linux 查看16进制文件
- linux 使用vi查看文件16进制编码
- linux以16进制方式查看文件
- Linux中查看文本文件内容命令cat/tac/nl/more/less/head/tail/vi总结
- arm-linux-gcc -v 查看不了版本号 没有那个文件或目录
- 将Linux系统的多个目录及文件备份并压缩到一个文件,以方便查看和维护
- linux文件时间的查看和修改touch
- Linux下查看文件和文件夹大小