dd - disk destroyer

As infamous as it can be, dd can be very convenient.

End-of-day, dd does nothing more than write the input file onto the output file.

Examples

Create a bootable flashdrive from a .iso

sudo dd if=./debian-11.6.0-amd64-netinst.iso of=/dev/sdc status=progress

Create a file with random data

sudo dd if=/dev/random of=./random.dat bs=2048 count=1

See also