什么是十六进制转储-这是什么意思? [英] Whats Hex Dump - What does it mean?

查看:499
本文介绍了什么是十六进制转储-这是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

thegladiator:~/cp$ cat new.txt
Hello World This is a Trest Progyy

thegladiator:~/cp$ hexdump new.txt
0000000 6548 6c6c 206f 6f57 6c72 2064 6854 7369
0000010 6920 2073 2061 7254 7365 2074 7250 676f
0000020 7979 000a                              
0000023

用十六进制表示的文本数据如何显示?这是什么意思 ?请任何人告诉我.

How is that text data represented in Hex like that ? What is the meaning of this ? Please can anyone tell me .

推荐答案

它就是它所说的,以十六进制格式转储数据:

it's just what it says, a dump of the data in hexidecimal format:

H 48 
e 65
l 6c
l 6c
o 6f

奇怪的是,所有字节都被交换了(65 48:e H)

It is odd though that all of the bytes are swapped (65 48 : e H)

如果您使用的是* nix系统,则可以使用'od -x',否则'man od'将告诉您从od获取数据的所有方法:)

If you're on a *nix system, you can use 'od -x', or 'man od' will tell you all the ways to get data from od :)

这篇关于什么是十六进制转储-这是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆