I'd like to have this in hardcopy
This has been very helpful. I'd like to download and print it. Consider a handbook or book. I'd buy it!
|
Hi,
Quote:
:hattip: |
A Book?
Quote:
Thank you for the encouragement. I'll write a dd book sometime during the next two years. -Awesome |
Please keep us informed. I am interested as well. Good job and thanks, AwesomeMachine
|
This is a brilliant thread, but I am stuck on a particular issue.
I am trying to dd a certain number of bytes from my USB. So, for example, byte 1000 to 5000 of my 512MB USB stick. From what I have looked at, the command looks as follows: dd if=/dev/sdb of=/home/user/file.txt seek=1000 count=5000 But is this correct? Thanks! |
In what way are you "stuck"?
|
Dear Tinkster,
Quote:
However, giving the exact code sequence is often more helpful in many circumstances. The snippet of code that works is an example of proven success and in itself easily becomes a 'tool' that one can embellish, diminish etc. Personally, I learn more from annotated 'good code' than by reading and trying to figure out arcane 'descriptions' found in MAN pages etc. It could be that both approaches are quite valid. Matthew |
Quote:
Now why exactly do you think it's a good idea to comment on my signature in a thread on dd? Cheers, Tink |
Quote:
Best way to learn is through mess ups and experimentation. |
That seems to work, thank you jstephens84.
But even if I save it into a text file (called file.txt, for example), I still cannot open it. Is there a reason why, I cannot see the contents of the dd output? |
If you use dd to put a partition image into a file---the file will not be a text file (even if you add the "txt" extension).
You can read **any** file with something like hexdump. |
Quote:
|
Skip, Count
Quote:
dd if=/dev/sdc1 skip=1000 count=4000 |
Leave off 'of='
Quote:
dd if=/dev/sdc1 | hexdump -C | less Less would be my favorite editor, except you can't edit with it. |
hi
I prefer strings so if above awesome command is awesome ignore mine Code:
su |
All times are GMT -5. The time now is 08:41 PM. |