-   Linux - Newbie (
-   -   Working examples of dd command (

satimis 01-05-2004 04:08 AM

Working examples of dd command
Hi folks,

Where can I find good examples of "dd command" (dd - convert and copy a file)

I could not find good working examples on 'man dd' and 'info dd'



XavierP 01-05-2004 04:17 AM

Here are a number of examples. I was hoping to give you one very good page, but as DD is such a versatile tool, have a read of all of them!

aaa 01-05-2004 08:23 AM


dd if=[input] of=[output] bs=[blocksize in bytes (2048) or in kilobytes (2k)] count=[number of blocks]
Copies whole floppy to file:
dd if=/dev/fd0 of=/floppyinafile
Copies first sector (512 bytes) to file:
dd if=/dev/fd0 of=/floppysector bs=512 count=1
See related post that was near this one.

All times are GMT -5. The time now is 02:36 AM.