Vi通过16进制查看2进制文件

在Vi的命令状态下输入:

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.

Published with Ghost | Moegi