Linux下的十六进制编辑器

关键字: Linux, hex editor, cli

折腾东西,需要找一个命令行下的十六进制编辑器,最后在这篇文章中找到了办法。其实就是在用xxd看了,编辑完后,用xxd -r命令把它给恢复回去,然后再写回文件就行了,嗯。

vim file
:%!xxd
...
edit
...
:%!xxd -r
This entry was posted in 小企鹅Linux. Bookmark the permalink.

2 Responses to Linux下的十六进制编辑器

  1. Anonymous says:

    标题雷人。明明用VIM。

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>