| Linux Forum Index » Linux Miscellaneous Topics » dd problems... |
|
Page 1 of 1 |
|
| Author |
Message |
| Bill Cunningham... |
Posted: Tue Apr 07, 2009 9:09 pm |
|
|
|
Guest
|
I never thought I would fully know how to use dd but I guess I'm not
able too. I want to skip over the first 252 bytes of an object file to get
to the first section header which is 40 bytes long. I've tried
bs,ibs,obs,skip I keep creating an empty file. How can I get this
information by using dd ?
Bill |
|
|
| Back to top |
|
|
|
| Vincent Zweije... |
Posted: Wed Apr 08, 2009 5:30 am |
|
|
|
Guest
|
In article <49dc076b$0$5502$bbae4d71 at (no spam) news.suddenlink.net>, Bill Cunningham
<nospam at (no spam) nspam.invalid> wrote:
|| I never thought I would fully know how to use dd but I guess I'm not
|| able too. I want to skip over the first 252 bytes of an object file to get
|| to the first section header which is 40 bytes long. I've tried
|| bs,ibs,obs,skip I keep creating an empty file. How can I get this
|| information by using dd ?
dd bs=1 skip=252 count=40
--
Vincent Zweije <zweije at (no spam) xs4all.nl> | "If you're flamed in a group you
<http://www.xs4all.nl/~zweije/> | don't read, does anybody get burnt?"
[Xhost should be taken out and shot] | -- Paul Tomblin on a.s.r. |
|
|
| Back to top |
|
|
|
|