dd
0%

Devices · Lesson 7

dd

Learn how `dd` copies block streams and how to prevent destructive input, output, and size mistakes.

dd copies data from an input stream to an output stream while applying requested block sizes and conversions. It does not understand filesystems, partition boundaries, or whether an output target contains valuable data. That makes it useful for images and raw devices—and immediately destructive when the target is wrong.