$ Copy
Write an ISO image file named input.iso to the device /dev/sdb:
input.iso
/dev/sdb
dd if=input.iso of=/dev/sdb
Write the first 10 sectors of the device /dev/sda to the file mbr.bin:
/dev/sda
mbr.bin
dd if=/dev/sda of=mbr.bin bs=512 count=10
Write the second partition of a disk image file named disk.img to the first sector of the device /dev/sdc3:
disk.img
/dev/sdc3
dd if=disk.img of=/dev/sdc3 bs=512 skip=2048 seek=1 count=2048