網上搜了一下 用vi在linux下檢視16進制檔案的方法。 xxd
Creates a hex dump of the given file; it can also do the
reverse, so it can be used for binary patching
用法很簡單:
在vi的指令狀态下
:%!xxd ——将目前文本轉換為16進制格式。
:%!xxd -r ——将目前檔案轉換回文本格式。
網上搜了一下 用vi在linux下檢視16進制檔案的方法。 xxd
Creates a hex dump of the given file; it can also do the
reverse, so it can be used for binary patching
用法很簡單:
在vi的指令狀态下
:%!xxd ——将目前文本轉換為16進制格式。
:%!xxd -r ——将目前檔案轉換回文本格式。