alx*_*mke 12 linux command-line bash options command
我正在寻找 Linux 命令和选项组合,以逐字节显示给定文件的内容以及字符及其数字表示。
我的印象是,为了做到这一点,我会使用以下内容:
od -c [file]
Run Code Online (Sandbox Code Playgroud)
但是,有人告诉我这是不正确的。
Tho*_*ker 13
关键是
字符及其数字表示
所以-c只给你一半。一种解决方案是
od -c -b file
Run Code Online (Sandbox Code Playgroud)
但当然有很多不同的数字表示可供选择。