Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 VIM 中以 bin 模式查看文件? 例如: 0101010100111010010 1101001001000100001 11000110111010111010 我知道如何以十六进制模式查看文件。谢谢!
与十六进制相同,只需将-b标志传递给xxd:
-b
xxd
:%!xxd -b