SunBo

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2009年12月10日

摘要: 在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 阅读全文
posted @ 2009-12-10 09:37 SunBo 阅读(5005) 评论(0) 推荐(0)