dd

Progress bar

Copy an ISO file to /dev/sdb

$pv -tpreb /tmp/image.iso | dd of=/dev/sdb bs=64M
$pv -tpreb /tmp/image.iso | dd of=/dev/sdb bs=4096 conv=notrunc,noerror

Create sized empty files

# With dd
dd if=/dev/urandom of=file.txt bs=10MB count=1

# with truncate
truncate -s 10M file.txt