Using hexdump to check special chars on files

When you suspect on some word that will hide something inside. And I already have compare file.

First thing I will try
>>> diff file1 file2

Then I know more which word, so I
>>> grep file1

And I'm not sure what wrong with it , I will
>>> grep file1 | hexdump -C

got thing like
00000000  48 65 6c 6c 6f 20 48 6f  77 20 61 72 65 20 79 6f  |Hello How are yo|00000010  75 20 74 6f 64 61 79 0a  0a                       |u today..|00000019

But I think it useless, I decide to
>>> grep file1 | hexdump -c

got this
0000000   H   e   l   l   o       H   o   w       a   r   e       y   o
0000010   u       t   o   d   a   y  \n  \n                            
0000019

the default thing is here0000000 6548 6c6c 206f 6f48 2077 7261 2065 6f79
0000010 2075 6f74 6164 0a79 000a               

0000019

That's it. Thank Kirit :)

Comments

Popular posts from this blog

Return Code 127