dd

A command that copies data block by block, used to image disks, write boot media and overwrite devices.

In more detail

dd if=/dev/sda of=disk.img copies a whole device; a wrong of= destroys data instantly. ddrescue copies a failing disk, skipping bad areas and returning to them later.

Taught in

References

Certification courses