【问题标题】:What is the output format of the hexdump command?hexdump 命令的输出格式是什么?
【发布时间】:2010-12-29 15:39:42
【问题描述】:
echo -n abcd > my_test_file
hexdump my_test_file
# 0000000 6261 6463                              
# 0000004
hexdump -C my_test_file
# 00000000  61 62 63 64                                       |abcd|
# 00000004

文件是否像第一个输出一样存储在硬盘上,并且“hexdump -C”输出被重新排序以提高可读性?

【问题讨论】:

    标签: hexdump


    【解决方案1】:

    第二个 hexdump 代表磁盘上的存储。第一个变体的存在更多是出于历史原因(PDP-11 上的 16 位大端架构)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-04-15
      • 2014-12-28
      • 2011-09-25
      • 1970-01-01
      • 2015-09-01
      • 2017-09-29
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多