编辑二进制文件

vim -b <file>
# In vim ex mode
# binary => hex
:%!xxd

# hex => binary
:%!xxd -r

xxd 命令

make a hexdump or do the reverse.

man ascii

用来查看 ascii 码