LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Working examples of dd command (http://www.linuxquestions.org/questions/linux-newbie-8/working-examples-of-dd-command-131641/)

satimis 01-05-2004 03: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'

TIA

B.R.
satimis

XavierP 01-05-2004 03: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 07:23 AM

Code:

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 07:20 AM.