Hello all.
I need to display file content in HEX format (test file contains of "
test TEST test TEST ..." string):
Code:
[user@localhost ~]# od --format=x1 --width=16 test.txt
0000000 74 65 73 74 20 54 45 53 54 20 74 65 73 74 20 54
...
but the problem is that I need to reverse bits in each byte before displaying it, so
0x74 should be
0x2E
0x65 should be
0xA6
and so on.
Is there any way to do it using CLI commands?
Thank you in advance for answering me.