The officially official Devuan Forum!

You are not logged in.

#1 2025-06-09 19:31:14

unixuser
Member
Registered: 2024-09-13
Posts: 25  

how to specify an hexadecimal offset to dd ?

Hi there,

does someone know how to specify an offset to dd ? I am trying to extract some bits from a firmware (some .data)

Thanks and hf!

Last edited by unixuser (2025-06-09 19:48:07)

Offline

#2 2025-06-09 20:00:20

rolfie
Member
Registered: 2017-11-25
Posts: 1,260  

Re: how to specify an hexadecimal offset to dd ?

man dd

Offline

#3 2025-06-09 23:32:36

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,403  

Re: how to specify an hexadecimal offset to dd ?

Use the shell phrase $((0x100)) to specify offset value 256; and similarly $((0x35feed63)) for offset value 905899363.

The parameters would be skip=?? for the infile and seek=?? for the outfile. The value is in block size counts.

Offline

Board footer