Sample Header Ad - 728x90

read raw data from disk and convert

0 votes
2 answers
772 views
please help to find a way to convert the data as follows: I read from disk using dd utility > dd if=/dev/sdb skip=8388608 count=560 iflag=skip_bytes,count_bytes |hexdump -C and I am getting > 000001a0 00 00 00 00 cf 4c 79 ce 00 00 00 00 00 00 00 00 |.....Ly.........| but I would like to get : > 000001a0 ce794ccf00000000 0000000000000000 |.....Ly.........| I do not have to use hexdump, any other tool can also do the trick. Thank you.
Asked by markmi (1 rep)
Feb 10, 2022, 07:51 AM
Last activity: Dec 21, 2022, 12:42 PM