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
status=progress
makesdd
output the total bytes copied to the flashdrive in real-time
Create a file with random data
sudo dd if=/dev/random of=./random.dat bs=2048 count=1
bs
is the size of each block to copycount
the number of blocks to copy2048 * 1
= 2kb